<86>Apr 12 11:05:02 userdel[3594280]: delete user 'rooter' <86>Apr 12 11:05:02 userdel[3594280]: removed group 'rooter' owned by 'rooter' <86>Apr 12 11:05:02 userdel[3594280]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 12 11:05:02 groupadd[3594322]: group added to /etc/group: name=rooter, GID=657 <86>Apr 12 11:05:02 groupadd[3594322]: group added to /etc/gshadow: name=rooter <86>Apr 12 11:05:02 groupadd[3594322]: new group: name=rooter, GID=657 <86>Apr 12 11:05:02 useradd[3594345]: new user: name=rooter, UID=657, GID=657, home=/root, shell=/bin/bash <86>Apr 12 11:05:02 userdel[3594399]: delete user 'builder' <86>Apr 12 11:05:02 userdel[3594399]: removed group 'builder' owned by 'builder' <86>Apr 12 11:05:02 userdel[3594399]: removed shadow group 'builder' owned by 'builder' <86>Apr 12 11:05:02 groupadd[3594500]: group added to /etc/group: name=builder, GID=658 <86>Apr 12 11:05:02 groupadd[3594500]: group added to /etc/gshadow: name=builder <86>Apr 12 11:05:02 groupadd[3594500]: new group: name=builder, GID=658 <86>Apr 12 11:05:02 useradd[3594516]: new user: name=builder, UID=658, GID=658, home=/usr/src, shell=/bin/bash warning: Macro %_emacs_sitestart_dir not found warning: Macro %_emacs_sitestart_dir not found warning: Macro %_emacs_sitestart_dir not found <13>Apr 12 11:05:08 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440111 installed <13>Apr 12 11:05:08 rpmi: vapi-common-0.52.1-alt1 sisyphus+269250.100.1.1 1617938591 installed <13>Apr 12 11:05:08 rpmi: libassuan-2.5.4.4.g05535d9-alt4 sisyphus+267833.100.1.1 1615806339 installed <13>Apr 12 11:05:08 rpmi: libgcrypt20-1.9.2-alt1 sisyphus+266496.100.1.1 1613559234 installed <13>Apr 12 11:05:08 rpmi: libsqlite3-3.35.4-alt1 sisyphus+269043.100.1.1 1617715084 installed <13>Apr 12 11:05:08 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>Apr 12 11:05:08 rpmi: libnettle8-3.7.2-alt1 sisyphus+268184.100.1.1 1616430275 installed <13>Apr 12 11:05:08 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 12 11:05:08 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 12 11:05:08 rpmi: libhogweed6-3.7.2-alt1 sisyphus+268184.100.1.1 1616430275 installed <13>Apr 12 11:05:08 rpmi: libgnutls30-3.6.15-alt2 sisyphus+268189.200.4.1 1616495163 installed <13>Apr 12 11:05:08 rpmi: libxslt-1.1.34-alt2 sisyphus+248264.100.1.1 1584829770 installed <13>Apr 12 11:05:08 rpmi: libksba-1.5.0-alt3 sisyphus+264254.400.1.1 1609440203 installed <13>Apr 12 11:05:08 rpmi: python-sphinx-objects.inv-1:2.3.10.20210411-alt1 sisyphus+269703.100.1.1 1618184316 installed <13>Apr 12 11:05:08 rpmi: libxapian-1.4.15-alt1 sisyphus+248304.20.4.1 1585071490 installed <13>Apr 12 11:05:08 rpmi: libtalloc-1:2.3.2-alt1 sisyphus+268191.100.8.1 1616984070 installed <13>Apr 12 11:05:08 rpmi: rpm-build-vala-0.3-alt1 1332324961 installed <13>Apr 12 11:05:08 rpmi: publicsuffix-list-dafsa-20210121-alt1 sisyphus+265129.100.1.1 1611325490 installed <13>Apr 12 11:05:08 rpmi: libpsl-0.21.1-alt1 sisyphus+255206.100.1.1 1595348938 installed <13>Apr 12 11:05:08 rpmi: libusb-1.0.23-alt1 sisyphus+237317.100.1.1 1568059905 installed <13>Apr 12 11:05:08 rpmi: libnpth-1.6.0.20.g7e45b50-alt3 sisyphus+264254.100.1.1 1609440056 installed <13>Apr 12 11:05:08 rpmi: openldap-common-2.4.57-alt1 sisyphus+266287.100.1.1 1613244218 installed <13>Apr 12 11:05:08 rpmi: libverto-0.3.2-alt1_1 sisyphus+268398.100.1.1 1616717462 installed <13>Apr 12 11:05:08 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Apr 12 11:05:08 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Apr 12 11:05:08 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>Apr 12 11:05:08 rpmi: gpgme-common-1.15.1-alt1 sisyphus+265234.51000.49.1 1613787095 installed <13>Apr 12 11:05:08 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 12 11:05:08 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Apr 12 11:05:08 rpmi: xml-utils-1:2.9.10-alt6 sisyphus+265234.30740.49.1 1613765060 installed <13>Apr 12 11:05:08 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Apr 12 11:05:08 rpmi: libproxy-0.4.17-alt1 sisyphus+264902.100.1.1 1611078502 installed <13>Apr 12 11:05:09 rpmi: gsettings-desktop-schemas-data-40.0-alt1 sisyphus+268501.300.4.2 1617041783 installed <13>Apr 12 11:05:09 rpmi: shared-mime-info-2.1-alt1 sisyphus+264261.100.1.1 1609507723 installed <13>Apr 12 11:05:09 rpmi: libgio-2.68.1-alt1 sisyphus+269248.100.1.1 1617921065 installed <13>Apr 12 11:05:09 rpmi: gsettings-desktop-schemas-40.0-alt1 sisyphus+268501.300.4.2 1617041559 installed <13>Apr 12 11:05:09 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>Apr 12 11:05:09 rpmi: libstdc++10-devel-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Apr 12 11:05:10 rpmi: gcc10-c++-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Apr 12 11:05:10 rpmi: rpm-macros-emacs-0.0.2-alt1 1256384841 installed <13>Apr 12 11:05:10 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 12 11:05:10 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 12 11:05:10 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>Apr 12 11:05:10 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 12 11:05:10 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 12 11:05:10 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 12 11:05:10 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 12 11:05:10 rpmi: libpython3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 12 11:05:10 rpmi: python3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 12 11:05:11 rpmi: python3-base-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 12 11:05:11 rpmi: python3-module-six-1.15.0-alt1 sisyphus+255738.100.2.1 1596527214 installed <13>Apr 12 11:05:11 rpmi: python3-module-pkg_resources-1:54.2.0-alt1 sisyphus+268460.1100.7.1 1617105969 installed <13>Apr 12 11:05:11 rpmi: glib2-devel-2.68.1-alt1 sisyphus+269248.100.1.1 1617921065 installed <13>Apr 12 11:05:11 rpmi: libgio-devel-2.68.1-alt1 sisyphus+269248.100.1.1 1617921065 installed <86>Apr 12 11:05:11 groupadd[3621380]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 12 11:05:11 groupadd[3621380]: group added to /etc/gshadow: name=_keytab <86>Apr 12 11:05:11 groupadd[3621380]: new group: name=_keytab, GID=499 <13>Apr 12 11:05:11 rpmi: libkrb5-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <86>Apr 12 11:05:11 groupadd[3621563]: group added to /etc/group: name=sasl, GID=498 <86>Apr 12 11:05:11 groupadd[3621563]: group added to /etc/gshadow: name=sasl <86>Apr 12 11:05:11 groupadd[3621563]: new group: name=sasl, GID=498 <13>Apr 12 11:05:11 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed <13>Apr 12 11:05:11 rpmi: libldap-2.4.57-alt1 sisyphus+266287.100.1.1 1613244306 installed <86>Apr 12 11:05:11 groupadd[3621684]: group added to /etc/group: name=_gnupg, GID=497 <86>Apr 12 11:05:11 groupadd[3621684]: group added to /etc/gshadow: name=_gnupg <86>Apr 12 11:05:11 groupadd[3621684]: new group: name=_gnupg, GID=497 <13>Apr 12 11:05:12 rpmi: gnupg2-2.2.27-alt1 sisyphus+264521.100.1.1 1610396279 installed <13>Apr 12 11:05:12 rpmi: libgpgme11-1.15.1-alt1 sisyphus+265234.51000.49.1 1613787095 installed <13>Apr 12 11:05:12 rpmi: libgmime2.6-2.6.23-alt3 sisyphus.213032.100 1536933940 installed <13>Apr 12 11:05:12 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Apr 12 11:05:12 rpmi: python3-module-genshi-0.7.4-alt2 sisyphus+261703.100.2.1 1605232240 installed <13>Apr 12 11:05:12 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+245915.200.1.1 1581496105 installed <13>Apr 12 11:05:12 rpmi: python3-module-cssselect-0.9.1-alt2 sisyphus+250566.2300.6.1 1588188959 installed <13>Apr 12 11:05:12 rpmi: python3-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>Apr 12 11:05:12 rpmi: python3-module-lxml-4.6.3-alt1 sisyphus+268152.100.1.1 1616388041 installed <13>Apr 12 11:05:12 rpmi: python3-module-docutils-0.16.0-alt1 sisyphus+250087.100.1.1 1587043829 installed <13>Apr 12 11:05:12 rpmi: python3-module-chardet-1:3.0.4-alt2 sisyphus+263408.100.1.1 1607875228 installed <13>Apr 12 11:05:12 rpmi: python3-module-idna-3.1-alt1 sisyphus+267356.100.1.1 1614879269 installed <13>Apr 12 11:05:12 rpmi: python3-module-pycparser-2.20-alt1 sisyphus+260990.100.1.1 1604547209 installed <13>Apr 12 11:05:12 rpmi: python3-module-cffi-1.14.5-alt1 sisyphus+266847.100.1.1 1614157383 installed <13>Apr 12 11:05:12 rpmi: python3-module-cryptography-3.4.6-alt1 sisyphus+267354.100.1.1 1614879025 installed <13>Apr 12 11:05:12 rpmi: python3-module-openssl-20.0.1-alt1 sisyphus+267607.100.2.1 1615475362 installed <13>Apr 12 11:05:12 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 12 11:05:12 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 12 11:05:12 rpmi: python3-module-urllib3-2:1.25.10-alt1 sisyphus+255342.100.1.1 1595592746 installed <13>Apr 12 11:05:12 rpmi: python3-module-requests-2.25.1-alt2 sisyphus+267359.100.1.1 1614881487 installed <13>Apr 12 11:05:12 rpmi: python3-module-pytz-1:2021.1-alt1 sisyphus+267903.400.1.1 1615896636 installed <13>Apr 12 11:05:13 rpmi: python3-module-babel-1:2.9.0-alt1 sisyphus+268784.200.2.1 1617263310 installed <13>Apr 12 11:05:13 rpmi: python3-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Apr 12 11:05:13 rpmi: python3-module-markupsafe-1.1.1-alt1 sisyphus+265234.15700.49.1 1613753625 installed <13>Apr 12 11:05:13 rpmi: python3-module-jinja2-2.11.3-alt1 sisyphus+267903.300.1.1 1615896587 installed <13>Apr 12 11:05:13 rpmi: python3-module-pyparsing-2.4.2-alt2 sisyphus+261315.100.1.1 1604861802 installed <13>Apr 12 11:05:13 rpmi: python3-module-packaging-19.0-alt3 sisyphus+261322.40.5.2 1604886824 installed <13>Apr 12 11:05:13 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Apr 12 11:05:13 rpmi: python3-module-sphinxcontrib-applehelp-1.0.2-alt1 sisyphus+252614.200.1.1 1590949678 installed <13>Apr 12 11:05:13 rpmi: python3-module-sphinxcontrib-devhelp-1.0.2-alt1 sisyphus+252614.300.1.1 1590949711 installed <13>Apr 12 11:05:13 rpmi: python3-module-sphinxcontrib-htmlhelp-1.0.2-alt1 sisyphus+228401.100.1.1 1556572721 installed <13>Apr 12 11:05:13 rpmi: python3-module-sphinxcontrib-jsmath-1.0.1-alt1 sisyphus+238085.500.1.1 1569313099 installed <13>Apr 12 11:05:13 rpmi: python3-module-sphinxcontrib-qthelp-1.0.3-alt1 sisyphus+252614.400.1.1 1590949745 installed <13>Apr 12 11:05:13 rpmi: python3-module-sphinxcontrib-serializinghtml-1.1.4-alt1 sisyphus+252614.100.1.1 1590949645 installed <13>Apr 12 11:05:13 rpmi: python3-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Apr 12 11:05:13 rpmi: python3-module-Pygments-2.6.1-alt2 sisyphus+263434.100.1.1 1607946762 installed <13>Apr 12 11:05:13 rpmi: python3-module-sphinx-1:2.4.4-alt1 sisyphus+254723.100.1.2 1594318607 installed <13>Apr 12 11:05:13 rpmi: glib-networking-2.68.0-alt1 sisyphus+268501.2500.4.2 1617046191 installed <13>Apr 12 11:05:14 rpmi: libsoup-2.72.0-alt1 sisyphus+258314.1100.14.2 1600844978 installed <13>Apr 12 11:05:14 rpmi: vala-0.52.1-alt1 sisyphus+269250.100.1.1 1617938944 installed <13>Apr 12 11:05:14 rpmi: libsoup-devel-2.72.0-alt1 sisyphus+258314.1100.14.2 1600844978 installed <13>Apr 12 11:05:14 rpmi: emacs26-speedbar-1.0-alt13 sisyphus+267015.500.7.1 1614782728 installed <13>Apr 12 11:05:14 rpmi: emacs26-tramp-2.3.5.26.3-alt13 sisyphus+267015.500.7.1 1614782728 installed <13>Apr 12 11:05:14 rpmi: emacs26-gnus-5.13-alt13 sisyphus+267015.500.7.1 1614782728 installed <13>Apr 12 11:05:16 rpmi: emacs26-common-26.3-alt13 sisyphus+267015.500.7.1 1614782761 installed <13>Apr 12 11:05:16 rpmi: emacs26-nox-26.3-alt13 sisyphus+267015.500.7.1 1614782761 installed <13>Apr 12 11:05:16 rpmi: libgmime-devel-2.6.23-alt3 sisyphus.213032.100 1536933940 installed <13>Apr 12 11:05:16 rpmi: python3-module-sphinx-sphinx-build-symlink-0.1-alt1 1375965103 installed <13>Apr 12 11:05:16 rpmi: emacs-devel-0.0.2-alt1 1256384841 installed <13>Apr 12 11:05:16 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607516810 installed <13>Apr 12 11:05:16 rpmi: libtalloc-devel-1:2.3.2-alt1 sisyphus+268191.100.8.1 1616984070 installed <13>Apr 12 11:05:16 rpmi: libxapian-devel-1.4.15-alt1 sisyphus+248304.20.4.1 1585071490 installed <13>Apr 12 11:05:16 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/notmuch-0.28.4-alt1.nosrc.rpm (w1.gzdio) Installing notmuch-0.28.4-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.31899 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf notmuch-0.28.4 + echo 'Source #0 (notmuch-0.28.4.tar):' Source #0 (notmuch-0.28.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/notmuch-0.28.4.tar + cd notmuch-0.28.4 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.44032 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd notmuch-0.28.4 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + ./configure --prefix=/usr --without-ruby Welcome to Notmuch, a system for indexing, searching and tagging your email. We hope that the process of building and installing notmuch is quick and smooth so that you can soon be reading and processing your email more efficiently than ever. If anything goes wrong in the configure process, you can override any decisions it makes by manually editing the Makefile.config file that it creates. Also please do as much as you can to figure out what could be different on your machine compared to those of the notmuch developers. Then, please email those details to the Notmuch list (notmuch@notmuchmail.org) so that we can hopefully make future versions of notmuch easier for you to use. We'll now investigate your system to verify that all required dependencies are available: Sanity checking C compilation environment... OK. Sanity checking C++ compilation environment... OK. Reading libnotmuch version from source... OK. Checking for Xapian development files... Yes (1.4.15). Checking for Xapian compaction support... Yes. Checking for Xapian FieldProcessor API... Yes. Checking for Xapian lock retry support... Yes. Testing default Xapian backend... In file included from /usr/include/xapian.h:44, from _default_backend.cc:1: /usr/include/xapian/version.h:29:2: warning: #warning The C++ ABI version of compiler you are using does not exactly match [-Wcpp] 29 | #warning The C++ ABI version of compiler you are using does not exactly match | ^~~~~~~ /usr/include/xapian/version.h:30:2: warning: #warning that of the compiler used to build the library. If linking fails [-Wcpp] 30 | #warning that of the compiler used to build the library. If linking fails | ^~~~~~~ /usr/include/xapian/version.h:31:2: warning: #warning due to missing symbols, this is probably the reason why. [-Wcpp] 31 | #warning due to missing symbols, this is probably the reason why. | ^~~~~~~ /usr/include/xapian/version.h:32:2: warning: #warning The Xapian library was built with g++ 9.2.1 [-Wcpp] 32 | #warning The Xapian library was built with g++ 9.2.1 | ^~~~~~~ glass Checking for GMime development files... Yes (2.6). Checking for Glib development files (>= 2.22)... Yes. Checking for zlib (>= 1.2.5.2)... Yes. Checking for talloc development files... Yes. Checking for bash... Yes (/bin/bash). Checking for perl... Yes (/usr/bin/perl). Checking for python... Yes (python3). Checking for valgrind development files... No (but that's fine). Checking for bash-completion (>= 1.90)... No (will not install bash completion). Checking if emacs is available... Yes. Checking if doxygen is available... No (so will not install api docs) Checking if sphinx is available and supports nroff output... Yes. Checking if makeinfo is available... No (so will not build info pages). Checking if install-info is available... No (so will not install info pages). Checking if desktop-file-install is available... No (so will not install .desktop file). Checking for cppcheck... No. Checking which platform we are on... Linux Checking for /usr/lib in ldconfig... Yes Checking for canonicalize_file_name... Yes. Checking for getline... Yes. Checking for strcasestr... Yes. Checking for strsep... Yes. Checking for timegm... Yes. Checking for dirent.d_type... Yes. Checking for standard version of getpwuid_r... Yes. Checking for standard version of asctime_r... Yes. Checking for rpath support... Yes. Checking for -Wl,--as-needed... Yes. Checking for -Wl,--no-undefined... Yes. Checking for available C++ compiler warning flags... -Wall -Wextra -Wwrite-strings Checking for available C compiler warning flags... -Wall -Wextra -Wwrite-strings -Wmissing-declarations All required packages were found. You may now run the following commands to compile and install notmuch: make sudo make install + make -j8 V=1 make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' echo 0.28.4 > version.stamp make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' emacs --quick --directory emacs -batch -l make-deps.el \ -f batch-make-deps emacs/notmuch-lib.el emacs/notmuch-compat.el emacs/notmuch-parser.el emacs/notmuch.el emacs/notmuch-query.el emacs/notmuch-show.el emacs/notmuch-tree.el emacs/notmuch-wash.el emacs/notmuch-hello.el emacs/notmuch-mua.el emacs/notmuch-address.el emacs/notmuch-maildir-fcc.el emacs/notmuch-message.el emacs/notmuch-crypto.el emacs/notmuch-tag.el emacs/coolj.el emacs/notmuch-print.el emacs/notmuch-version.el emacs/notmuch-jump.el emacs/notmuch-company.el emacs/notmuch-draft.el > emacs/.eldeps.tmp && \ mv emacs/.eldeps.tmp emacs/.eldeps make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 gmime-filter-reply.c -o gmime-filter-reply.o -MD -MP -MF .deps/gmime-filter-reply.d gmime-filter-reply.c: In function 'g_mime_filter_reply_get_type': gmime-filter-reply.c:56:4: warning: cast between incompatible function types from 'void (*)(GMimeFilterReplyClass *)' {aka 'void (*)(struct _GMimeFilterReplyClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 56 | (GClassInitFunc) g_mime_filter_reply_class_init, | ^ make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 debugger.c -o debugger.o -MD -MP -MF .deps/debugger.d debugger.c: In function 'debugger_is_active': debugger.c:40:24: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 1 [-Wrestrict] 40 | if (readlink (buf, buf, sizeof (buf)) != -1 && | ~~~ ^~~ make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 command-line-arguments.c -o command-line-arguments.o -MD -MP -MF .deps/command-line-arguments.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 status.c -o status.o -MD -MP -MF .deps/status.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-count.c -o notmuch-count.o -MD -MP -MF .deps/notmuch-count.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch.c -o notmuch.o -MD -MP -MF .deps/notmuch.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 hooks.c -o hooks.o -MD -MP -MF .deps/hooks.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-dump.c -o notmuch-dump.o -MD -MP -MF .deps/notmuch-dump.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-compact.c -o notmuch-compact.o -MD -MP -MF .deps/notmuch-compact.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-reindex.c -o notmuch-reindex.o -MD -MP -MF .deps/notmuch-reindex.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-insert.c -o notmuch-insert.o -MD -MP -MF .deps/notmuch-insert.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-restore.c -o notmuch-restore.o -MD -MP -MF .deps/notmuch-restore.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-setup.c -o notmuch-setup.o -MD -MP -MF .deps/notmuch-setup.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-show.c -o notmuch-show.o -MD -MP -MF .deps/notmuch-show.d notmuch-show.c: In function 'signature_status_to_string': notmuch-show.c:355:40: warning: implicit conversion from 'GMimeSignatureStatus' to 'GMimeSignatureError' [-Wenum-conversion] 355 | if (g_mime_signature_status_error (status)) | ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-config.c -o notmuch-config.o -MD -MP -MF .deps/notmuch-config.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-reply.c -o notmuch-reply.o -MD -MP -MF .deps/notmuch-reply.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 sprinter-sexp.c -o sprinter-sexp.o -MD -MP -MF .deps/sprinter-sexp.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 query-string.c -o query-string.o -MD -MP -MF .deps/query-string.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-tag.c -o notmuch-tag.o -MD -MP -MF .deps/notmuch-tag.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-new.c -o notmuch-new.o -MD -MP -MF .deps/notmuch-new.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-time.c -o notmuch-time.o -MD -MP -MF .deps/notmuch-time.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 sprinter-json.c -o sprinter-json.o -MD -MP -MF .deps/sprinter-json.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 sprinter-text.c -o sprinter-text.o -MD -MP -MF .deps/sprinter-text.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 mime-node.c -o mime-node.o -MD -MP -MF .deps/mime-node.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/filenames.c -o lib/filenames.o -MD -MP -MF .deps/lib/filenames.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/string-list.c -o lib/string-list.o -MD -MP -MF .deps/lib/string-list.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/messages.c -o lib/messages.o -MD -MP -MF .deps/lib/messages.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 notmuch-search.c -o notmuch-search.o -MD -MP -MF .deps/notmuch-search.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/message-id.c -o lib/message-id.o -MD -MP -MF .deps/lib/message-id.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/built-with.c -o lib/built-with.o -MD -MP -MF .deps/lib/built-with.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 tag-util.c -o tag-util.o -MD -MP -MF .deps/tag-util.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/message-file.c -o lib/message-file.o -MD -MP -MF .deps/lib/message-file.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/tags.c -o lib/tags.o -MD -MP -MF .deps/lib/tags.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/string-map.c -o lib/string-map.o -MD -MP -MF .deps/lib/string-map.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/sha1.c -o lib/sha1.o -MD -MP -MF .deps/lib/sha1.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' cc -c -DNOTMUCH_VERSION=0.28.4 -std=gnu99 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -Wmissing-declarations -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/indexopts.c -o lib/indexopts.o -MD -MP -MF .deps/lib/indexopts.d make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' c++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -fvisibility-inlines-hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/message-property.cc -o lib/message-property.o -MD -MP -MF .deps/lib/message-property.d In file included from /usr/include/xapian.h:44, from lib/database-private.h:39, from lib/message-property.cc:25: /usr/include/xapian/version.h:29:2: warning: #warning The C++ ABI version of compiler you are using does not exactly match [-Wcpp] 29 | #warning The C++ ABI version of compiler you are using does not exactly match | ^~~~~~~ /usr/include/xapian/version.h:30:2: warning: #warning that of the compiler used to build the library. If linking fails [-Wcpp] 30 | #warning that of the compiler used to build the library. If linking fails | ^~~~~~~ /usr/include/xapian/version.h:31:2: warning: #warning due to missing symbols, this is probably the reason why. [-Wcpp] 31 | #warning due to missing symbols, this is probably the reason why. | ^~~~~~~ /usr/include/xapian/version.h:32:2: warning: #warning The Xapian library was built with g++ 9.2.1 [-Wcpp] 32 | #warning The Xapian library was built with g++ 9.2.1 | ^~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:56:3: error: template with C linkage 56 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:71:3: error: template with C linkage 71 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:80:3: error: template with C linkage 80 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:91:3: error: template with C linkage 91 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:94:3: error: template with C linkage 94 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:98:3: error: template with C linkage 98 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:101:3: error: template with C linkage 101 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:104:3: error: template specialization with C linkage 104 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:109:3: error: template with C linkage 109 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:114:3: error: template with C linkage 114 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:119:3: error: template with C linkage 119 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:124:3: error: template with C linkage 124 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:127:3: error: template specialization with C linkage 127 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:132:3: error: template with C linkage 132 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:137:3: error: template with C linkage 137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:142:3: error: template with C linkage 142 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:147:3: error: template with C linkage 147 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:188:3: error: template with C linkage 188 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:190:3: error: template with C linkage 190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:192:3: error: template with C linkage 192 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:194:3: error: template with C linkage 194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:200:3: error: template with C linkage 200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:204:3: error: template with C linkage 204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:226:3: error: template with C linkage 226 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:230:3: error: template with C linkage 230 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:233:3: error: template with C linkage 233 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:238:3: error: template with C linkage 238 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:242:3: error: template specialization with C linkage 242 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:247:3: error: template with C linkage 247 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:252:3: error: template with C linkage 252 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:256:3: error: template specialization with C linkage 256 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:260:3: error: template specialization with C linkage 260 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:264:3: error: template specialization with C linkage 264 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:268:3: error: template specialization with C linkage 268 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:273:3: error: template specialization with C linkage 273 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:284:3: error: template specialization with C linkage 284 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:288:3: error: template specialization with C linkage 288 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:292:3: error: template specialization with C linkage 292 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:296:3: error: template specialization with C linkage 296 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:300:3: error: template specialization with C linkage 300 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:304:3: error: template specialization with C linkage 304 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:308:3: error: template specialization with C linkage 308 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:312:3: error: template specialization with C linkage 312 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:316:3: error: template specialization with C linkage 316 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:320:3: error: template specialization with C linkage 320 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:364:3: error: template with C linkage 364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:369:3: error: template with C linkage 369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:373:3: error: template specialization with C linkage 373 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:377:3: error: template specialization with C linkage 377 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:381:3: error: template specialization with C linkage 381 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:386:3: error: template specialization with C linkage 386 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:392:3: error: template with C linkage 392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:398:3: error: template with C linkage 398 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:402:3: error: template with C linkage 402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:406:3: error: template with C linkage 406 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:410:3: error: template with C linkage 410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:414:3: error: template with C linkage 414 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:419:3: error: template with C linkage 419 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:425:3: error: template with C linkage 425 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:429:3: error: template with C linkage 429 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:434:3: error: template with C linkage 434 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:438:3: error: template with C linkage 438 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:442:3: error: template with C linkage 442 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:446:3: error: template with C linkage 446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:451:3: error: template with C linkage 451 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:456:3: error: template with C linkage 456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:460:3: error: template with C linkage 460 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:465:3: error: template with C linkage 465 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:471:3: error: template with C linkage 471 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:477:3: error: template with C linkage 477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:483:3: error: template with C linkage 483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:489:3: error: template with C linkage 489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:493:3: error: template with C linkage 493 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:497:3: error: template with C linkage 497 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:503:3: error: template with C linkage 503 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:507:3: error: template specialization with C linkage 507 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:512:3: error: template with C linkage 512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:518:3: error: template with C linkage 518 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:526:3: error: template with C linkage 526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:533:3: error: template with C linkage 533 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:539:3: error: template with C linkage 539 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:546:3: error: template with C linkage 546 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:552:3: error: template with C linkage 552 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:556:3: error: template with C linkage 556 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:563:3: error: template with C linkage 563 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:567:3: error: template with C linkage 567 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:571:3: error: template with C linkage 571 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:576:3: error: template with C linkage 576 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:581:3: error: template with C linkage 581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:584:3: error: template with C linkage 584 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:588:3: error: template with C linkage 588 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:607:3: error: template with C linkage 607 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:626:3: error: template with C linkage 626 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:631:3: error: template with C linkage 631 | template using __void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:635:3: error: template with C linkage 635 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:640:3: error: template with C linkage 640 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:648:3: error: template with C linkage 648 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:652:3: error: template with C linkage 652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:657:3: error: template with C linkage 657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:661:3: error: template with C linkage 661 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:666:3: error: template with C linkage 666 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:675:3: error: template with C linkage 675 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:684:3: error: template with C linkage 684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:694:3: error: template with C linkage 694 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:705:3: error: template with C linkage 705 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:714:3: error: template with C linkage 714 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:720:3: error: template with C linkage 720 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:728:3: error: template with C linkage 728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:735:3: error: template with C linkage 735 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:740:3: error: template with C linkage 740 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:751:3: error: template with C linkage 751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:757:3: error: template with C linkage 757 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:770:3: error: template with C linkage 770 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:774:3: error: template with C linkage 774 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:778:3: error: template with C linkage 778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:781:3: error: template with C linkage 781 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:784:3: error: template with C linkage 784 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:787:3: error: template with C linkage 787 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:792:3: error: template with C linkage 792 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:804:5: error: template with C linkage 804 | template().~_Tp())> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:807:5: error: template with C linkage 807 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:811:3: error: template with C linkage 811 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:818:3: error: template with C linkage 818 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:831:3: error: template with C linkage 831 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:835:3: error: template with C linkage 835 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:840:3: error: template with C linkage 840 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:854:5: error: template with C linkage 854 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:858:5: error: template with C linkage 858 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:862:3: error: template with C linkage 862 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:869:3: error: template with C linkage 869 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:882:3: error: template with C linkage 882 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:886:3: error: template with C linkage 886 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:891:3: error: template with C linkage 891 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:899:3: error: template with C linkage 899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:905:3: error: template with C linkage 905 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:914:3: error: template with C linkage 914 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:922:3: error: template with C linkage 922 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:925:3: error: template with C linkage 925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:929:3: error: template with C linkage 929 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:935:3: error: template with C linkage 935 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:943:3: error: template with C linkage 943 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:946:3: error: template with C linkage 946 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:950:3: error: template with C linkage 950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:956:3: error: template with C linkage 956 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:964:3: error: template with C linkage 964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:969:3: error: template with C linkage 969 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:974:3: error: template with C linkage 974 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:979:3: error: template with C linkage 979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:984:3: error: template with C linkage 984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1001:3: error: template with C linkage 1001 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1007:3: error: template with C linkage 1007 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1025:3: error: template with C linkage 1025 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1028:3: error: template with C linkage 1028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1032:3: error: template with C linkage 1032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1038:3: error: template with C linkage 1038 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1046:3: error: template with C linkage 1046 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1049:3: error: template with C linkage 1049 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1053:3: error: template with C linkage 1053 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1076:3: error: template with C linkage 1076 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1079:3: error: template with C linkage 1079 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1083:3: error: template with C linkage 1083 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1089:3: error: template with C linkage 1089 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1097:3: error: template with C linkage 1097 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1100:3: error: template with C linkage 1100 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1104:3: error: template with C linkage 1104 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1110:3: error: template with C linkage 1110 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1118:3: error: template with C linkage 1118 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1123:3: error: template with C linkage 1123 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1130:3: error: template with C linkage 1130 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1138:3: error: template with C linkage 1138 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1141:3: error: template with C linkage 1141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1145:3: error: template with C linkage 1145 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1151:3: error: template with C linkage 1151 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1159:3: error: template with C linkage 1159 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1162:3: error: template with C linkage 1162 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1166:3: error: template with C linkage 1166 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1172:3: error: template with C linkage 1172 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1181:3: error: template with C linkage 1181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1190:3: error: template with C linkage 1190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1200:5: error: template with C linkage 1200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1203:5: error: template with C linkage 1203 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1222:3: error: template with C linkage 1222 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1228:3: error: template with C linkage 1228 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1235:3: error: template with C linkage 1235 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1243:3: error: template with C linkage 1243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1251:3: error: template with C linkage 1251 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1254:3: error: template with C linkage 1254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1258:3: error: template with C linkage 1258 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1266:3: error: template with C linkage 1266 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1275:3: error: template with C linkage 1275 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1283:3: error: template with C linkage 1283 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1286:3: error: template with C linkage 1286 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1290:3: error: template with C linkage 1290 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1296:3: error: template with C linkage 1296 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1304:3: error: template with C linkage 1304 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1307:3: error: template with C linkage 1307 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1311:3: error: template with C linkage 1311 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1317:3: error: template with C linkage 1317 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1326:3: error: template with C linkage 1326 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1337:3: error: template with C linkage 1337 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1349:3: error: template with C linkage 1349 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1358:3: error: template with C linkage 1358 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1362:3: error: template with C linkage 1362 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1366:3: error: template with C linkage 1366 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1371:3: error: template with C linkage 1371 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1375:3: error: template with C linkage 1375 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1382:3: error: template with C linkage 1382 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1393:3: error: template with C linkage 1393 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1410:3: error: template with C linkage 1410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1415:3: error: template with C linkage 1415 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1446:3: error: template with C linkage 1446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1452:3: error: template with C linkage 1452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1456:3: error: template with C linkage 1456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1486:3: error: template with C linkage 1486 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1508:3: error: template with C linkage 1508 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1512:3: error: template with C linkage 1512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1517:3: error: template with C linkage 1517 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1521:3: error: template with C linkage 1521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1526:3: error: template with C linkage 1526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1530:3: error: template with C linkage 1530 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1534:3: error: template with C linkage 1534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1538:3: error: template with C linkage 1538 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1543:3: error: template with C linkage 1543 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1548:3: error: template with C linkage 1548 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1553:3: error: template with C linkage 1553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1565:3: error: template with C linkage 1565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1569:3: error: template with C linkage 1569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1573:3: error: template with C linkage 1573 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1581:3: error: template with C linkage 1581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1592:3: error: template with C linkage 1592 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1596:3: error: template with C linkage 1596 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1600:3: error: template with C linkage 1600 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1604:3: error: template with C linkage 1604 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1608:3: error: template with C linkage 1608 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1613:3: error: template with C linkage 1613 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1618:3: error: template with C linkage 1618 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1622:3: error: template with C linkage 1622 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1627:3: error: template with C linkage 1627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1634:3: error: template with C linkage 1634 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1638:3: error: template with C linkage 1638 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1642:3: error: template with C linkage 1642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1649:3: error: template with C linkage 1649 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1652:3: error: template with C linkage 1652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1656:3: error: template with C linkage 1656 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1660:3: error: template with C linkage 1660 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1664:3: error: template with C linkage 1664 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1668:3: error: template with C linkage 1668 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1684:3: error: template specialization with C linkage 1684 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1688:3: error: template specialization with C linkage 1688 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1692:3: error: template specialization with C linkage 1692 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1696:3: error: template specialization with C linkage 1696 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1700:3: error: template specialization with C linkage 1700 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1704:3: error: template specialization with C linkage 1704 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1730:3: error: template with C linkage 1730 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1749:5: error: template with C linkage 1749 | template struct _List { }; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1751:5: error: template with C linkage 1751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1755:5: error: template with C linkage 1755 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1758:5: error: template with C linkage 1758 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1762:5: error: template with C linkage 1762 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1769:3: error: template with C linkage 1769 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1789:3: error: template specialization with C linkage 1789 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1806:3: error: template specialization with C linkage 1806 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1813:3: error: template specialization with C linkage 1813 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1824:3: error: template with C linkage 1824 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1829:3: error: template specialization with C linkage 1829 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1834:3: error: template with C linkage 1834 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1838:3: error: template specialization with C linkage 1838 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1842:3: error: template specialization with C linkage 1842 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1846:3: error: template specialization with C linkage 1846 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1850:3: error: template specialization with C linkage 1850 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1854:3: error: template specialization with C linkage 1854 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1858:3: error: template specialization with C linkage 1858 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1884:3: error: template with C linkage 1884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1901:3: error: template with C linkage 1901 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1915:3: error: template specialization with C linkage 1915 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1932:3: error: template specialization with C linkage 1932 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1939:3: error: template specialization with C linkage 1939 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1950:3: error: template with C linkage 1950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1955:3: error: template specialization with C linkage 1955 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1960:3: error: template with C linkage 1960 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1971:3: error: template with C linkage 1971 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1975:3: error: template with C linkage 1975 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1979:3: error: template with C linkage 1979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1984:3: error: template with C linkage 1984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1988:3: error: template with C linkage 1988 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1992:3: error: template with C linkage 1992 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:1998:3: error: template with C linkage 1998 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2002:3: error: template with C linkage 2002 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2008:3: error: template with C linkage 2008 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2012:3: error: template with C linkage 2012 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2017:3: error: template with C linkage 2017 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2023:3: error: template with C linkage 2023 | template, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2028:3: error: template with C linkage 2028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2032:3: error: template with C linkage 2032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2039:3: error: template with C linkage 2039 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2043:3: error: template with C linkage 2043 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2047:3: error: template with C linkage 2047 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2085:3: error: template with C linkage 2085 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2122:3: error: template with C linkage 2122 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2127:3: error: template with C linkage 2127 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2137:3: error: template with C linkage 2137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2141:3: error: template with C linkage 2141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2146:3: error: template with C linkage 2146 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2156:3: error: template with C linkage 2156 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2163:3: error: template with C linkage 2163 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2169:3: error: template with C linkage 2169 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2175:3: error: template with C linkage 2175 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2181:3: error: template with C linkage 2181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2186:3: error: template with C linkage 2186 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2191:3: error: template with C linkage 2191 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2194:3: error: template with C linkage 2194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2199:3: error: template with C linkage 2199 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2204:3: error: template with C linkage 2204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2209:3: error: template with C linkage 2209 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2214:3: error: template with C linkage 2214 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2221:5: error: template with C linkage 2221 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2227:5: error: template with C linkage 2227 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2239:5: error: template with C linkage 2239 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2243:5: error: template with C linkage 2243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2249:3: error: template specialization with C linkage 2249 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2254:3: error: template with C linkage 2254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2260:3: error: template with C linkage 2260 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2279:3: error: template with C linkage 2279 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2284:3: error: template with C linkage 2284 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2288:3: error: template with C linkage 2288 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2292:3: error: template with C linkage 2292 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2308:3: error: template with C linkage 2308 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2312:3: error: template with C linkage 2312 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2318:3: error: template with C linkage 2318 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2323:3: error: template with C linkage 2323 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2328:3: error: template with C linkage 2328 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2334:3: error: template with C linkage 2334 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2343:3: error: template with C linkage 2343 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2357:3: error: template with C linkage 2357 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2364:5: error: template with C linkage 2364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2369:5: error: template with C linkage 2369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2373:3: error: template with C linkage 2373 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2383:5: error: template with C linkage 2383 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2388:5: error: template with C linkage 2388 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2392:3: error: template with C linkage 2392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2402:5: error: template with C linkage 2402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2407:5: error: template with C linkage 2407 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2411:3: error: template with C linkage 2411 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2421:5: error: template with C linkage 2421 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2426:5: error: template with C linkage 2426 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2430:3: error: template with C linkage 2430 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2437:3: error: template with C linkage 2437 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2440:3: error: template with C linkage 2440 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2452:3: error: template with C linkage 2452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2455:3: error: template with C linkage 2455 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2471:3: error: template with C linkage 2471 | template> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2477:3: error: template with C linkage 2477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2483:3: error: template with C linkage 2483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2489:3: error: template with C linkage 2489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2495:3: error: template with C linkage 2495 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2504:5: error: template with C linkage 2504 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2509:5: error: template with C linkage 2509 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2513:3: error: template with C linkage 2513 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2521:3: error: template with C linkage 2521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2534:3: error: template with C linkage 2534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2541:3: error: template with C linkage 2541 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2549:3: error: template with C linkage 2549 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2553:3: error: template with C linkage 2553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2557:3: error: template with C linkage 2557 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2561:3: error: template with C linkage 2561 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2565:3: error: template with C linkage 2565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2569:3: error: template with C linkage 2569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2576:3: error: template with C linkage 2576 | template using void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2580:3: error: template with C linkage 2580 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2598:3: error: template with C linkage 2598 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2603:3: error: template with C linkage 2603 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2624:3: error: template with C linkage 2624 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2627:3: error: template with C linkage 2627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2630:3: error: template with C linkage 2630 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2633:3: error: template with C linkage 2633 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2637:3: error: template with C linkage 2637 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2642:3: error: template with C linkage 2642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2657:3: error: template with C linkage 2657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2669:7: error: template with C linkage 2669 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2679:7: error: template with C linkage 2679 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2684:7: error: template with C linkage 2684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2690:3: error: template with C linkage 2690 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2697:3: error: template with C linkage 2697 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2704:3: error: template with C linkage 2704 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2709:3: error: template with C linkage 2709 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2719:3: error: template with C linkage 2719 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2728:3: error: template with C linkage 2728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2738:3: error: template with C linkage 2738 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2743:3: error: template with C linkage 2743 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2753:7: error: template with C linkage 2753 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2765:7: error: template with C linkage 2765 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2772:7: error: template with C linkage 2772 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2778:3: error: template with C linkage 2778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2786:3: error: template with C linkage 2786 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2793:3: error: template with C linkage 2793 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2801:3: error: template with C linkage 2801 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2809:3: error: template with C linkage 2809 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2815:3: error: template with C linkage 2815 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2822:3: error: template with C linkage 2822 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2827:3: error: template with C linkage 2827 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2837:3: error: template with C linkage 2837 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2852:3: error: template with C linkage 2852 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2879:3: error: template with C linkage 2879 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2884:3: error: template with C linkage 2884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2892:3: error: template with C linkage 2892 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2899:3: error: template with C linkage 2899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2906:3: error: template with C linkage 2906 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2912:3: error: template with C linkage 2912 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2918:3: error: template with C linkage 2918 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2925:3: error: template with C linkage 2925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message-property.cc:24: /usr/include/c++/10/type_traits:2930:3: error: template with C linkage 2930 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message-property.cc:24: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile.local:196: lib/message-property.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' c++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -fvisibility-inlines-hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/directory.cc -o lib/directory.o -MD -MP -MF .deps/lib/directory.d In file included from /usr/include/xapian.h:44, from lib/database-private.h:39, from lib/directory.cc:22: /usr/include/xapian/version.h:29:2: warning: #warning The C++ ABI version of compiler you are using does not exactly match [-Wcpp] 29 | #warning The C++ ABI version of compiler you are using does not exactly match | ^~~~~~~ /usr/include/xapian/version.h:30:2: warning: #warning that of the compiler used to build the library. If linking fails [-Wcpp] 30 | #warning that of the compiler used to build the library. If linking fails | ^~~~~~~ /usr/include/xapian/version.h:31:2: warning: #warning due to missing symbols, this is probably the reason why. [-Wcpp] 31 | #warning due to missing symbols, this is probably the reason why. | ^~~~~~~ /usr/include/xapian/version.h:32:2: warning: #warning The Xapian library was built with g++ 9.2.1 [-Wcpp] 32 | #warning The Xapian library was built with g++ 9.2.1 | ^~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:56:3: error: template with C linkage 56 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:71:3: error: template with C linkage 71 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:80:3: error: template with C linkage 80 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:91:3: error: template with C linkage 91 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:94:3: error: template with C linkage 94 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:98:3: error: template with C linkage 98 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:101:3: error: template with C linkage 101 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:104:3: error: template specialization with C linkage 104 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:109:3: error: template with C linkage 109 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:114:3: error: template with C linkage 114 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:119:3: error: template with C linkage 119 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:124:3: error: template with C linkage 124 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:127:3: error: template specialization with C linkage 127 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:132:3: error: template with C linkage 132 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:137:3: error: template with C linkage 137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:142:3: error: template with C linkage 142 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:147:3: error: template with C linkage 147 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:188:3: error: template with C linkage 188 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:190:3: error: template with C linkage 190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:192:3: error: template with C linkage 192 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:194:3: error: template with C linkage 194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:200:3: error: template with C linkage 200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:204:3: error: template with C linkage 204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:226:3: error: template with C linkage 226 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:230:3: error: template with C linkage 230 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:233:3: error: template with C linkage 233 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:238:3: error: template with C linkage 238 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:242:3: error: template specialization with C linkage 242 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:247:3: error: template with C linkage 247 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:252:3: error: template with C linkage 252 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:256:3: error: template specialization with C linkage 256 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:260:3: error: template specialization with C linkage 260 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:264:3: error: template specialization with C linkage 264 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:268:3: error: template specialization with C linkage 268 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:273:3: error: template specialization with C linkage 273 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:284:3: error: template specialization with C linkage 284 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:288:3: error: template specialization with C linkage 288 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:292:3: error: template specialization with C linkage 292 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:296:3: error: template specialization with C linkage 296 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:300:3: error: template specialization with C linkage 300 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:304:3: error: template specialization with C linkage 304 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:308:3: error: template specialization with C linkage 308 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:312:3: error: template specialization with C linkage 312 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:316:3: error: template specialization with C linkage 316 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:320:3: error: template specialization with C linkage 320 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:364:3: error: template with C linkage 364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:369:3: error: template with C linkage 369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:373:3: error: template specialization with C linkage 373 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:377:3: error: template specialization with C linkage 377 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:381:3: error: template specialization with C linkage 381 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:386:3: error: template specialization with C linkage 386 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:392:3: error: template with C linkage 392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:398:3: error: template with C linkage 398 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:402:3: error: template with C linkage 402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:406:3: error: template with C linkage 406 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:410:3: error: template with C linkage 410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:414:3: error: template with C linkage 414 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:419:3: error: template with C linkage 419 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:425:3: error: template with C linkage 425 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:429:3: error: template with C linkage 429 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:434:3: error: template with C linkage 434 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:438:3: error: template with C linkage 438 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:442:3: error: template with C linkage 442 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:446:3: error: template with C linkage 446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:451:3: error: template with C linkage 451 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:456:3: error: template with C linkage 456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:460:3: error: template with C linkage 460 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:465:3: error: template with C linkage 465 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:471:3: error: template with C linkage 471 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:477:3: error: template with C linkage 477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:483:3: error: template with C linkage 483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:489:3: error: template with C linkage 489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:493:3: error: template with C linkage 493 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:497:3: error: template with C linkage 497 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:503:3: error: template with C linkage 503 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:507:3: error: template specialization with C linkage 507 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:512:3: error: template with C linkage 512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:518:3: error: template with C linkage 518 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:526:3: error: template with C linkage 526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:533:3: error: template with C linkage 533 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:539:3: error: template with C linkage 539 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:546:3: error: template with C linkage 546 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:552:3: error: template with C linkage 552 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:556:3: error: template with C linkage 556 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:563:3: error: template with C linkage 563 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:567:3: error: template with C linkage 567 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:571:3: error: template with C linkage 571 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:576:3: error: template with C linkage 576 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:581:3: error: template with C linkage 581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:584:3: error: template with C linkage 584 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:588:3: error: template with C linkage 588 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:607:3: error: template with C linkage 607 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:626:3: error: template with C linkage 626 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:631:3: error: template with C linkage 631 | template using __void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:635:3: error: template with C linkage 635 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:640:3: error: template with C linkage 640 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:648:3: error: template with C linkage 648 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:652:3: error: template with C linkage 652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:657:3: error: template with C linkage 657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:661:3: error: template with C linkage 661 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:666:3: error: template with C linkage 666 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:675:3: error: template with C linkage 675 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:684:3: error: template with C linkage 684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:694:3: error: template with C linkage 694 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:705:3: error: template with C linkage 705 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:714:3: error: template with C linkage 714 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:720:3: error: template with C linkage 720 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:728:3: error: template with C linkage 728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:735:3: error: template with C linkage 735 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:740:3: error: template with C linkage 740 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:751:3: error: template with C linkage 751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:757:3: error: template with C linkage 757 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:770:3: error: template with C linkage 770 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:774:3: error: template with C linkage 774 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:778:3: error: template with C linkage 778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:781:3: error: template with C linkage 781 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:784:3: error: template with C linkage 784 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:787:3: error: template with C linkage 787 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:792:3: error: template with C linkage 792 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:804:5: error: template with C linkage 804 | template().~_Tp())> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:807:5: error: template with C linkage 807 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:811:3: error: template with C linkage 811 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:818:3: error: template with C linkage 818 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:831:3: error: template with C linkage 831 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:835:3: error: template with C linkage 835 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:840:3: error: template with C linkage 840 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:854:5: error: template with C linkage 854 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:858:5: error: template with C linkage 858 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:862:3: error: template with C linkage 862 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:869:3: error: template with C linkage 869 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:882:3: error: template with C linkage 882 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:886:3: error: template with C linkage 886 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:891:3: error: template with C linkage 891 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:899:3: error: template with C linkage 899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:905:3: error: template with C linkage 905 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:914:3: error: template with C linkage 914 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:922:3: error: template with C linkage 922 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:925:3: error: template with C linkage 925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:929:3: error: template with C linkage 929 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:935:3: error: template with C linkage 935 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:943:3: error: template with C linkage 943 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:946:3: error: template with C linkage 946 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:950:3: error: template with C linkage 950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:956:3: error: template with C linkage 956 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:964:3: error: template with C linkage 964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:969:3: error: template with C linkage 969 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:974:3: error: template with C linkage 974 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:979:3: error: template with C linkage 979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:984:3: error: template with C linkage 984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1001:3: error: template with C linkage 1001 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1007:3: error: template with C linkage 1007 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1025:3: error: template with C linkage 1025 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1028:3: error: template with C linkage 1028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1032:3: error: template with C linkage 1032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1038:3: error: template with C linkage 1038 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1046:3: error: template with C linkage 1046 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1049:3: error: template with C linkage 1049 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1053:3: error: template with C linkage 1053 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1076:3: error: template with C linkage 1076 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1079:3: error: template with C linkage 1079 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1083:3: error: template with C linkage 1083 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1089:3: error: template with C linkage 1089 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1097:3: error: template with C linkage 1097 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1100:3: error: template with C linkage 1100 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1104:3: error: template with C linkage 1104 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1110:3: error: template with C linkage 1110 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1118:3: error: template with C linkage 1118 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1123:3: error: template with C linkage 1123 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1130:3: error: template with C linkage 1130 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1138:3: error: template with C linkage 1138 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1141:3: error: template with C linkage 1141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1145:3: error: template with C linkage 1145 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1151:3: error: template with C linkage 1151 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1159:3: error: template with C linkage 1159 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1162:3: error: template with C linkage 1162 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1166:3: error: template with C linkage 1166 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1172:3: error: template with C linkage 1172 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1181:3: error: template with C linkage 1181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1190:3: error: template with C linkage 1190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1200:5: error: template with C linkage 1200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1203:5: error: template with C linkage 1203 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1222:3: error: template with C linkage 1222 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1228:3: error: template with C linkage 1228 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1235:3: error: template with C linkage 1235 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1243:3: error: template with C linkage 1243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1251:3: error: template with C linkage 1251 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1254:3: error: template with C linkage 1254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1258:3: error: template with C linkage 1258 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1266:3: error: template with C linkage 1266 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1275:3: error: template with C linkage 1275 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1283:3: error: template with C linkage 1283 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1286:3: error: template with C linkage 1286 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1290:3: error: template with C linkage 1290 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1296:3: error: template with C linkage 1296 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1304:3: error: template with C linkage 1304 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1307:3: error: template with C linkage 1307 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1311:3: error: template with C linkage 1311 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1317:3: error: template with C linkage 1317 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1326:3: error: template with C linkage 1326 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1337:3: error: template with C linkage 1337 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1349:3: error: template with C linkage 1349 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1358:3: error: template with C linkage 1358 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1362:3: error: template with C linkage 1362 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1366:3: error: template with C linkage 1366 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1371:3: error: template with C linkage 1371 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1375:3: error: template with C linkage 1375 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1382:3: error: template with C linkage 1382 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1393:3: error: template with C linkage 1393 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1410:3: error: template with C linkage 1410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1415:3: error: template with C linkage 1415 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1446:3: error: template with C linkage 1446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1452:3: error: template with C linkage 1452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1456:3: error: template with C linkage 1456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1486:3: error: template with C linkage 1486 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1508:3: error: template with C linkage 1508 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1512:3: error: template with C linkage 1512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1517:3: error: template with C linkage 1517 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1521:3: error: template with C linkage 1521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1526:3: error: template with C linkage 1526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1530:3: error: template with C linkage 1530 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1534:3: error: template with C linkage 1534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1538:3: error: template with C linkage 1538 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1543:3: error: template with C linkage 1543 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1548:3: error: template with C linkage 1548 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1553:3: error: template with C linkage 1553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1565:3: error: template with C linkage 1565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1569:3: error: template with C linkage 1569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1573:3: error: template with C linkage 1573 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1581:3: error: template with C linkage 1581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1592:3: error: template with C linkage 1592 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1596:3: error: template with C linkage 1596 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1600:3: error: template with C linkage 1600 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1604:3: error: template with C linkage 1604 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1608:3: error: template with C linkage 1608 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1613:3: error: template with C linkage 1613 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1618:3: error: template with C linkage 1618 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1622:3: error: template with C linkage 1622 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1627:3: error: template with C linkage 1627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1634:3: error: template with C linkage 1634 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1638:3: error: template with C linkage 1638 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1642:3: error: template with C linkage 1642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1649:3: error: template with C linkage 1649 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1652:3: error: template with C linkage 1652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1656:3: error: template with C linkage 1656 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1660:3: error: template with C linkage 1660 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1664:3: error: template with C linkage 1664 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1668:3: error: template with C linkage 1668 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1684:3: error: template specialization with C linkage 1684 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1688:3: error: template specialization with C linkage 1688 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1692:3: error: template specialization with C linkage 1692 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1696:3: error: template specialization with C linkage 1696 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1700:3: error: template specialization with C linkage 1700 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1704:3: error: template specialization with C linkage 1704 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1730:3: error: template with C linkage 1730 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1749:5: error: template with C linkage 1749 | template struct _List { }; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1751:5: error: template with C linkage 1751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1755:5: error: template with C linkage 1755 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1758:5: error: template with C linkage 1758 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1762:5: error: template with C linkage 1762 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1769:3: error: template with C linkage 1769 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1789:3: error: template specialization with C linkage 1789 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1806:3: error: template specialization with C linkage 1806 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1813:3: error: template specialization with C linkage 1813 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1824:3: error: template with C linkage 1824 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1829:3: error: template specialization with C linkage 1829 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1834:3: error: template with C linkage 1834 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1838:3: error: template specialization with C linkage 1838 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1842:3: error: template specialization with C linkage 1842 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1846:3: error: template specialization with C linkage 1846 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1850:3: error: template specialization with C linkage 1850 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1854:3: error: template specialization with C linkage 1854 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1858:3: error: template specialization with C linkage 1858 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1884:3: error: template with C linkage 1884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1901:3: error: template with C linkage 1901 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1915:3: error: template specialization with C linkage 1915 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1932:3: error: template specialization with C linkage 1932 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1939:3: error: template specialization with C linkage 1939 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1950:3: error: template with C linkage 1950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1955:3: error: template specialization with C linkage 1955 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1960:3: error: template with C linkage 1960 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1971:3: error: template with C linkage 1971 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1975:3: error: template with C linkage 1975 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1979:3: error: template with C linkage 1979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1984:3: error: template with C linkage 1984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1988:3: error: template with C linkage 1988 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1992:3: error: template with C linkage 1992 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:1998:3: error: template with C linkage 1998 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2002:3: error: template with C linkage 2002 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2008:3: error: template with C linkage 2008 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2012:3: error: template with C linkage 2012 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2017:3: error: template with C linkage 2017 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2023:3: error: template with C linkage 2023 | template, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2028:3: error: template with C linkage 2028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2032:3: error: template with C linkage 2032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2039:3: error: template with C linkage 2039 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2043:3: error: template with C linkage 2043 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2047:3: error: template with C linkage 2047 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2085:3: error: template with C linkage 2085 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2122:3: error: template with C linkage 2122 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2127:3: error: template with C linkage 2127 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2137:3: error: template with C linkage 2137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2141:3: error: template with C linkage 2141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2146:3: error: template with C linkage 2146 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2156:3: error: template with C linkage 2156 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2163:3: error: template with C linkage 2163 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2169:3: error: template with C linkage 2169 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2175:3: error: template with C linkage 2175 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2181:3: error: template with C linkage 2181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2186:3: error: template with C linkage 2186 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2191:3: error: template with C linkage 2191 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2194:3: error: template with C linkage 2194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2199:3: error: template with C linkage 2199 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2204:3: error: template with C linkage 2204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2209:3: error: template with C linkage 2209 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2214:3: error: template with C linkage 2214 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2221:5: error: template with C linkage 2221 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2227:5: error: template with C linkage 2227 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2239:5: error: template with C linkage 2239 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2243:5: error: template with C linkage 2243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2249:3: error: template specialization with C linkage 2249 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2254:3: error: template with C linkage 2254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2260:3: error: template with C linkage 2260 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2279:3: error: template with C linkage 2279 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2284:3: error: template with C linkage 2284 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2288:3: error: template with C linkage 2288 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2292:3: error: template with C linkage 2292 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2308:3: error: template with C linkage 2308 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2312:3: error: template with C linkage 2312 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2318:3: error: template with C linkage 2318 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2323:3: error: template with C linkage 2323 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2328:3: error: template with C linkage 2328 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2334:3: error: template with C linkage 2334 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2343:3: error: template with C linkage 2343 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2357:3: error: template with C linkage 2357 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2364:5: error: template with C linkage 2364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2369:5: error: template with C linkage 2369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2373:3: error: template with C linkage 2373 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2383:5: error: template with C linkage 2383 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2388:5: error: template with C linkage 2388 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2392:3: error: template with C linkage 2392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2402:5: error: template with C linkage 2402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2407:5: error: template with C linkage 2407 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2411:3: error: template with C linkage 2411 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2421:5: error: template with C linkage 2421 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2426:5: error: template with C linkage 2426 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2430:3: error: template with C linkage 2430 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2437:3: error: template with C linkage 2437 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2440:3: error: template with C linkage 2440 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2452:3: error: template with C linkage 2452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2455:3: error: template with C linkage 2455 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2471:3: error: template with C linkage 2471 | template> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2477:3: error: template with C linkage 2477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2483:3: error: template with C linkage 2483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2489:3: error: template with C linkage 2489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2495:3: error: template with C linkage 2495 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2504:5: error: template with C linkage 2504 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2509:5: error: template with C linkage 2509 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2513:3: error: template with C linkage 2513 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2521:3: error: template with C linkage 2521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2534:3: error: template with C linkage 2534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2541:3: error: template with C linkage 2541 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2549:3: error: template with C linkage 2549 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2553:3: error: template with C linkage 2553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2557:3: error: template with C linkage 2557 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2561:3: error: template with C linkage 2561 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2565:3: error: template with C linkage 2565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2569:3: error: template with C linkage 2569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2576:3: error: template with C linkage 2576 | template using void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2580:3: error: template with C linkage 2580 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2598:3: error: template with C linkage 2598 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2603:3: error: template with C linkage 2603 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2624:3: error: template with C linkage 2624 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2627:3: error: template with C linkage 2627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2630:3: error: template with C linkage 2630 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2633:3: error: template with C linkage 2633 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2637:3: error: template with C linkage 2637 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2642:3: error: template with C linkage 2642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2657:3: error: template with C linkage 2657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2669:7: error: template with C linkage 2669 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2679:7: error: template with C linkage 2679 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2684:7: error: template with C linkage 2684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2690:3: error: template with C linkage 2690 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2697:3: error: template with C linkage 2697 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2704:3: error: template with C linkage 2704 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2709:3: error: template with C linkage 2709 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2719:3: error: template with C linkage 2719 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2728:3: error: template with C linkage 2728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2738:3: error: template with C linkage 2738 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2743:3: error: template with C linkage 2743 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2753:7: error: template with C linkage 2753 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2765:7: error: template with C linkage 2765 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2772:7: error: template with C linkage 2772 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2778:3: error: template with C linkage 2778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2786:3: error: template with C linkage 2786 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2793:3: error: template with C linkage 2793 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2801:3: error: template with C linkage 2801 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2809:3: error: template with C linkage 2809 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2815:3: error: template with C linkage 2815 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2822:3: error: template with C linkage 2822 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2827:3: error: template with C linkage 2827 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2837:3: error: template with C linkage 2837 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2852:3: error: template with C linkage 2852 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2879:3: error: template with C linkage 2879 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2884:3: error: template with C linkage 2884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2892:3: error: template with C linkage 2892 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2899:3: error: template with C linkage 2899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2906:3: error: template with C linkage 2906 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2912:3: error: template with C linkage 2912 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2918:3: error: template with C linkage 2918 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2925:3: error: template with C linkage 2925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/directory.cc:21: /usr/include/c++/10/type_traits:2930:3: error: template with C linkage 2930 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/directory.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile.local:196: lib/directory.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' c++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -fvisibility-inlines-hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/add-message.cc -o lib/add-message.o -MD -MP -MF .deps/lib/add-message.d In file included from /usr/include/xapian.h:44, from lib/database-private.h:39, from lib/add-message.cc:1: /usr/include/xapian/version.h:29:2: warning: #warning The C++ ABI version of compiler you are using does not exactly match [-Wcpp] 29 | #warning The C++ ABI version of compiler you are using does not exactly match | ^~~~~~~ /usr/include/xapian/version.h:30:2: warning: #warning that of the compiler used to build the library. If linking fails [-Wcpp] 30 | #warning that of the compiler used to build the library. If linking fails | ^~~~~~~ /usr/include/xapian/version.h:31:2: warning: #warning due to missing symbols, this is probably the reason why. [-Wcpp] 31 | #warning due to missing symbols, this is probably the reason why. | ^~~~~~~ /usr/include/xapian/version.h:32:2: warning: #warning The Xapian library was built with g++ 9.2.1 [-Wcpp] 32 | #warning The Xapian library was built with g++ 9.2.1 | ^~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:56:3: error: template with C linkage 56 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:71:3: error: template with C linkage 71 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:80:3: error: template with C linkage 80 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:91:3: error: template with C linkage 91 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:94:3: error: template with C linkage 94 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:98:3: error: template with C linkage 98 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:101:3: error: template with C linkage 101 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:104:3: error: template specialization with C linkage 104 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:109:3: error: template with C linkage 109 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:114:3: error: template with C linkage 114 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:119:3: error: template with C linkage 119 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:124:3: error: template with C linkage 124 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:127:3: error: template specialization with C linkage 127 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:132:3: error: template with C linkage 132 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:137:3: error: template with C linkage 137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:142:3: error: template with C linkage 142 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:147:3: error: template with C linkage 147 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:188:3: error: template with C linkage 188 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:190:3: error: template with C linkage 190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:192:3: error: template with C linkage 192 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:194:3: error: template with C linkage 194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:200:3: error: template with C linkage 200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:204:3: error: template with C linkage 204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:226:3: error: template with C linkage 226 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:230:3: error: template with C linkage 230 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:233:3: error: template with C linkage 233 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:238:3: error: template with C linkage 238 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:242:3: error: template specialization with C linkage 242 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:247:3: error: template with C linkage 247 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:252:3: error: template with C linkage 252 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:256:3: error: template specialization with C linkage 256 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:260:3: error: template specialization with C linkage 260 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:264:3: error: template specialization with C linkage 264 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:268:3: error: template specialization with C linkage 268 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:273:3: error: template specialization with C linkage 273 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:284:3: error: template specialization with C linkage 284 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:288:3: error: template specialization with C linkage 288 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:292:3: error: template specialization with C linkage 292 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:296:3: error: template specialization with C linkage 296 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:300:3: error: template specialization with C linkage 300 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:304:3: error: template specialization with C linkage 304 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:308:3: error: template specialization with C linkage 308 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:312:3: error: template specialization with C linkage 312 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:316:3: error: template specialization with C linkage 316 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:320:3: error: template specialization with C linkage 320 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:364:3: error: template with C linkage 364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:369:3: error: template with C linkage 369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:373:3: error: template specialization with C linkage 373 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:377:3: error: template specialization with C linkage 377 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:381:3: error: template specialization with C linkage 381 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:386:3: error: template specialization with C linkage 386 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:392:3: error: template with C linkage 392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:398:3: error: template with C linkage 398 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:402:3: error: template with C linkage 402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:406:3: error: template with C linkage 406 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:410:3: error: template with C linkage 410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:414:3: error: template with C linkage 414 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:419:3: error: template with C linkage 419 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:425:3: error: template with C linkage 425 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:429:3: error: template with C linkage 429 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:434:3: error: template with C linkage 434 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:438:3: error: template with C linkage 438 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:442:3: error: template with C linkage 442 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:446:3: error: template with C linkage 446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:451:3: error: template with C linkage 451 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:456:3: error: template with C linkage 456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:460:3: error: template with C linkage 460 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:465:3: error: template with C linkage 465 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:471:3: error: template with C linkage 471 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:477:3: error: template with C linkage 477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:483:3: error: template with C linkage 483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:489:3: error: template with C linkage 489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:493:3: error: template with C linkage 493 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:497:3: error: template with C linkage 497 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:503:3: error: template with C linkage 503 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:507:3: error: template specialization with C linkage 507 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:512:3: error: template with C linkage 512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:518:3: error: template with C linkage 518 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:526:3: error: template with C linkage 526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:533:3: error: template with C linkage 533 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:539:3: error: template with C linkage 539 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:546:3: error: template with C linkage 546 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:552:3: error: template with C linkage 552 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:556:3: error: template with C linkage 556 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:563:3: error: template with C linkage 563 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:567:3: error: template with C linkage 567 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:571:3: error: template with C linkage 571 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:576:3: error: template with C linkage 576 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:581:3: error: template with C linkage 581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:584:3: error: template with C linkage 584 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:588:3: error: template with C linkage 588 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:607:3: error: template with C linkage 607 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:626:3: error: template with C linkage 626 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:631:3: error: template with C linkage 631 | template using __void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:635:3: error: template with C linkage 635 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:640:3: error: template with C linkage 640 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:648:3: error: template with C linkage 648 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:652:3: error: template with C linkage 652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:657:3: error: template with C linkage 657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:661:3: error: template with C linkage 661 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:666:3: error: template with C linkage 666 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:675:3: error: template with C linkage 675 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:684:3: error: template with C linkage 684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:694:3: error: template with C linkage 694 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:705:3: error: template with C linkage 705 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:714:3: error: template with C linkage 714 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:720:3: error: template with C linkage 720 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:728:3: error: template with C linkage 728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:735:3: error: template with C linkage 735 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:740:3: error: template with C linkage 740 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:751:3: error: template with C linkage 751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:757:3: error: template with C linkage 757 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:770:3: error: template with C linkage 770 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:774:3: error: template with C linkage 774 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:778:3: error: template with C linkage 778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:781:3: error: template with C linkage 781 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:784:3: error: template with C linkage 784 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:787:3: error: template with C linkage 787 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:792:3: error: template with C linkage 792 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:804:5: error: template with C linkage 804 | template().~_Tp())> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:807:5: error: template with C linkage 807 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:811:3: error: template with C linkage 811 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:818:3: error: template with C linkage 818 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:831:3: error: template with C linkage 831 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:835:3: error: template with C linkage 835 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:840:3: error: template with C linkage 840 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:854:5: error: template with C linkage 854 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:858:5: error: template with C linkage 858 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:862:3: error: template with C linkage 862 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:869:3: error: template with C linkage 869 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:882:3: error: template with C linkage 882 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:886:3: error: template with C linkage 886 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:891:3: error: template with C linkage 891 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:899:3: error: template with C linkage 899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:905:3: error: template with C linkage 905 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:914:3: error: template with C linkage 914 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:922:3: error: template with C linkage 922 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:925:3: error: template with C linkage 925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:929:3: error: template with C linkage 929 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:935:3: error: template with C linkage 935 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:943:3: error: template with C linkage 943 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:946:3: error: template with C linkage 946 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:950:3: error: template with C linkage 950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:956:3: error: template with C linkage 956 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:964:3: error: template with C linkage 964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:969:3: error: template with C linkage 969 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:974:3: error: template with C linkage 974 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:979:3: error: template with C linkage 979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:984:3: error: template with C linkage 984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1001:3: error: template with C linkage 1001 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1007:3: error: template with C linkage 1007 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1025:3: error: template with C linkage 1025 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1028:3: error: template with C linkage 1028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1032:3: error: template with C linkage 1032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1038:3: error: template with C linkage 1038 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1046:3: error: template with C linkage 1046 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1049:3: error: template with C linkage 1049 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1053:3: error: template with C linkage 1053 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1076:3: error: template with C linkage 1076 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1079:3: error: template with C linkage 1079 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1083:3: error: template with C linkage 1083 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1089:3: error: template with C linkage 1089 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1097:3: error: template with C linkage 1097 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1100:3: error: template with C linkage 1100 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1104:3: error: template with C linkage 1104 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1110:3: error: template with C linkage 1110 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1118:3: error: template with C linkage 1118 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1123:3: error: template with C linkage 1123 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1130:3: error: template with C linkage 1130 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1138:3: error: template with C linkage 1138 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1141:3: error: template with C linkage 1141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1145:3: error: template with C linkage 1145 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1151:3: error: template with C linkage 1151 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1159:3: error: template with C linkage 1159 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1162:3: error: template with C linkage 1162 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1166:3: error: template with C linkage 1166 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1172:3: error: template with C linkage 1172 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1181:3: error: template with C linkage 1181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1190:3: error: template with C linkage 1190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1200:5: error: template with C linkage 1200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1203:5: error: template with C linkage 1203 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1222:3: error: template with C linkage 1222 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1228:3: error: template with C linkage 1228 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1235:3: error: template with C linkage 1235 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1243:3: error: template with C linkage 1243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1251:3: error: template with C linkage 1251 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1254:3: error: template with C linkage 1254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1258:3: error: template with C linkage 1258 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1266:3: error: template with C linkage 1266 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1275:3: error: template with C linkage 1275 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1283:3: error: template with C linkage 1283 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1286:3: error: template with C linkage 1286 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1290:3: error: template with C linkage 1290 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1296:3: error: template with C linkage 1296 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1304:3: error: template with C linkage 1304 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1307:3: error: template with C linkage 1307 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1311:3: error: template with C linkage 1311 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1317:3: error: template with C linkage 1317 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1326:3: error: template with C linkage 1326 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1337:3: error: template with C linkage 1337 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1349:3: error: template with C linkage 1349 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1358:3: error: template with C linkage 1358 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1362:3: error: template with C linkage 1362 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1366:3: error: template with C linkage 1366 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1371:3: error: template with C linkage 1371 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1375:3: error: template with C linkage 1375 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1382:3: error: template with C linkage 1382 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1393:3: error: template with C linkage 1393 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1410:3: error: template with C linkage 1410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1415:3: error: template with C linkage 1415 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1446:3: error: template with C linkage 1446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1452:3: error: template with C linkage 1452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1456:3: error: template with C linkage 1456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1486:3: error: template with C linkage 1486 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1508:3: error: template with C linkage 1508 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1512:3: error: template with C linkage 1512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1517:3: error: template with C linkage 1517 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1521:3: error: template with C linkage 1521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1526:3: error: template with C linkage 1526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1530:3: error: template with C linkage 1530 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1534:3: error: template with C linkage 1534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1538:3: error: template with C linkage 1538 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1543:3: error: template with C linkage 1543 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1548:3: error: template with C linkage 1548 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1553:3: error: template with C linkage 1553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1565:3: error: template with C linkage 1565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1569:3: error: template with C linkage 1569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1573:3: error: template with C linkage 1573 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1581:3: error: template with C linkage 1581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1592:3: error: template with C linkage 1592 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1596:3: error: template with C linkage 1596 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1600:3: error: template with C linkage 1600 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1604:3: error: template with C linkage 1604 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1608:3: error: template with C linkage 1608 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1613:3: error: template with C linkage 1613 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1618:3: error: template with C linkage 1618 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1622:3: error: template with C linkage 1622 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1627:3: error: template with C linkage 1627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1634:3: error: template with C linkage 1634 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1638:3: error: template with C linkage 1638 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1642:3: error: template with C linkage 1642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1649:3: error: template with C linkage 1649 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1652:3: error: template with C linkage 1652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1656:3: error: template with C linkage 1656 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1660:3: error: template with C linkage 1660 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1664:3: error: template with C linkage 1664 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1668:3: error: template with C linkage 1668 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1684:3: error: template specialization with C linkage 1684 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1688:3: error: template specialization with C linkage 1688 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1692:3: error: template specialization with C linkage 1692 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1696:3: error: template specialization with C linkage 1696 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1700:3: error: template specialization with C linkage 1700 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1704:3: error: template specialization with C linkage 1704 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1730:3: error: template with C linkage 1730 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1749:5: error: template with C linkage 1749 | template struct _List { }; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1751:5: error: template with C linkage 1751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1755:5: error: template with C linkage 1755 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1758:5: error: template with C linkage 1758 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1762:5: error: template with C linkage 1762 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1769:3: error: template with C linkage 1769 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1789:3: error: template specialization with C linkage 1789 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1806:3: error: template specialization with C linkage 1806 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1813:3: error: template specialization with C linkage 1813 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1824:3: error: template with C linkage 1824 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1829:3: error: template specialization with C linkage 1829 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1834:3: error: template with C linkage 1834 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1838:3: error: template specialization with C linkage 1838 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1842:3: error: template specialization with C linkage 1842 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1846:3: error: template specialization with C linkage 1846 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1850:3: error: template specialization with C linkage 1850 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1854:3: error: template specialization with C linkage 1854 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1858:3: error: template specialization with C linkage 1858 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1884:3: error: template with C linkage 1884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1901:3: error: template with C linkage 1901 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1915:3: error: template specialization with C linkage 1915 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1932:3: error: template specialization with C linkage 1932 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1939:3: error: template specialization with C linkage 1939 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1950:3: error: template with C linkage 1950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1955:3: error: template specialization with C linkage 1955 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1960:3: error: template with C linkage 1960 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1971:3: error: template with C linkage 1971 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1975:3: error: template with C linkage 1975 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1979:3: error: template with C linkage 1979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1984:3: error: template with C linkage 1984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1988:3: error: template with C linkage 1988 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1992:3: error: template with C linkage 1992 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:1998:3: error: template with C linkage 1998 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2002:3: error: template with C linkage 2002 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2008:3: error: template with C linkage 2008 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2012:3: error: template with C linkage 2012 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2017:3: error: template with C linkage 2017 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2023:3: error: template with C linkage 2023 | template, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2028:3: error: template with C linkage 2028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2032:3: error: template with C linkage 2032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2039:3: error: template with C linkage 2039 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2043:3: error: template with C linkage 2043 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2047:3: error: template with C linkage 2047 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2085:3: error: template with C linkage 2085 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2122:3: error: template with C linkage 2122 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2127:3: error: template with C linkage 2127 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2137:3: error: template with C linkage 2137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2141:3: error: template with C linkage 2141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2146:3: error: template with C linkage 2146 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2156:3: error: template with C linkage 2156 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2163:3: error: template with C linkage 2163 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2169:3: error: template with C linkage 2169 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2175:3: error: template with C linkage 2175 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2181:3: error: template with C linkage 2181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2186:3: error: template with C linkage 2186 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2191:3: error: template with C linkage 2191 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2194:3: error: template with C linkage 2194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2199:3: error: template with C linkage 2199 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2204:3: error: template with C linkage 2204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2209:3: error: template with C linkage 2209 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2214:3: error: template with C linkage 2214 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2221:5: error: template with C linkage 2221 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2227:5: error: template with C linkage 2227 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2239:5: error: template with C linkage 2239 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2243:5: error: template with C linkage 2243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2249:3: error: template specialization with C linkage 2249 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2254:3: error: template with C linkage 2254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2260:3: error: template with C linkage 2260 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2279:3: error: template with C linkage 2279 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2284:3: error: template with C linkage 2284 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2288:3: error: template with C linkage 2288 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2292:3: error: template with C linkage 2292 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2308:3: error: template with C linkage 2308 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2312:3: error: template with C linkage 2312 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2318:3: error: template with C linkage 2318 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2323:3: error: template with C linkage 2323 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2328:3: error: template with C linkage 2328 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2334:3: error: template with C linkage 2334 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2343:3: error: template with C linkage 2343 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2357:3: error: template with C linkage 2357 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2364:5: error: template with C linkage 2364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2369:5: error: template with C linkage 2369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2373:3: error: template with C linkage 2373 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2383:5: error: template with C linkage 2383 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2388:5: error: template with C linkage 2388 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2392:3: error: template with C linkage 2392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2402:5: error: template with C linkage 2402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2407:5: error: template with C linkage 2407 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2411:3: error: template with C linkage 2411 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2421:5: error: template with C linkage 2421 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2426:5: error: template with C linkage 2426 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2430:3: error: template with C linkage 2430 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2437:3: error: template with C linkage 2437 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2440:3: error: template with C linkage 2440 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2452:3: error: template with C linkage 2452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2455:3: error: template with C linkage 2455 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2471:3: error: template with C linkage 2471 | template> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2477:3: error: template with C linkage 2477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2483:3: error: template with C linkage 2483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2489:3: error: template with C linkage 2489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2495:3: error: template with C linkage 2495 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2504:5: error: template with C linkage 2504 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2509:5: error: template with C linkage 2509 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2513:3: error: template with C linkage 2513 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2521:3: error: template with C linkage 2521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2534:3: error: template with C linkage 2534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2541:3: error: template with C linkage 2541 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2549:3: error: template with C linkage 2549 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2553:3: error: template with C linkage 2553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2557:3: error: template with C linkage 2557 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2561:3: error: template with C linkage 2561 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2565:3: error: template with C linkage 2565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2569:3: error: template with C linkage 2569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2576:3: error: template with C linkage 2576 | template using void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2580:3: error: template with C linkage 2580 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2598:3: error: template with C linkage 2598 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2603:3: error: template with C linkage 2603 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2624:3: error: template with C linkage 2624 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2627:3: error: template with C linkage 2627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2630:3: error: template with C linkage 2630 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2633:3: error: template with C linkage 2633 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2637:3: error: template with C linkage 2637 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2642:3: error: template with C linkage 2642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2657:3: error: template with C linkage 2657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2669:7: error: template with C linkage 2669 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2679:7: error: template with C linkage 2679 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2684:7: error: template with C linkage 2684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2690:3: error: template with C linkage 2690 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2697:3: error: template with C linkage 2697 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2704:3: error: template with C linkage 2704 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2709:3: error: template with C linkage 2709 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2719:3: error: template with C linkage 2719 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2728:3: error: template with C linkage 2728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2738:3: error: template with C linkage 2738 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2743:3: error: template with C linkage 2743 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2753:7: error: template with C linkage 2753 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2765:7: error: template with C linkage 2765 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2772:7: error: template with C linkage 2772 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2778:3: error: template with C linkage 2778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2786:3: error: template with C linkage 2786 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2793:3: error: template with C linkage 2793 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2801:3: error: template with C linkage 2801 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2809:3: error: template with C linkage 2809 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2815:3: error: template with C linkage 2815 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2822:3: error: template with C linkage 2822 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2827:3: error: template with C linkage 2827 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2837:3: error: template with C linkage 2837 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2852:3: error: template with C linkage 2852 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2879:3: error: template with C linkage 2879 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2884:3: error: template with C linkage 2884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2892:3: error: template with C linkage 2892 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2899:3: error: template with C linkage 2899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2906:3: error: template with C linkage 2906 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2912:3: error: template with C linkage 2912 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2918:3: error: template with C linkage 2918 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2925:3: error: template with C linkage 2925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/add-message.cc:1: /usr/include/c++/10/type_traits:2930:3: error: template with C linkage 2930 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/add-message.cc:1: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile.local:196: lib/add-message.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' c++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -fvisibility-inlines-hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/index.cc -o lib/index.o -MD -MP -MF .deps/lib/index.d In file included from /usr/include/xapian.h:44, from lib/index.cc:25: /usr/include/xapian/version.h:29:2: warning: #warning The C++ ABI version of compiler you are using does not exactly match [-Wcpp] 29 | #warning The C++ ABI version of compiler you are using does not exactly match | ^~~~~~~ /usr/include/xapian/version.h:30:2: warning: #warning that of the compiler used to build the library. If linking fails [-Wcpp] 30 | #warning that of the compiler used to build the library. If linking fails | ^~~~~~~ /usr/include/xapian/version.h:31:2: warning: #warning due to missing symbols, this is probably the reason why. [-Wcpp] 31 | #warning due to missing symbols, this is probably the reason why. | ^~~~~~~ /usr/include/xapian/version.h:32:2: warning: #warning The Xapian library was built with g++ 9.2.1 [-Wcpp] 32 | #warning The Xapian library was built with g++ 9.2.1 | ^~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:56:3: error: template with C linkage 56 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:71:3: error: template with C linkage 71 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:80:3: error: template with C linkage 80 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:91:3: error: template with C linkage 91 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:94:3: error: template with C linkage 94 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:98:3: error: template with C linkage 98 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:101:3: error: template with C linkage 101 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:104:3: error: template specialization with C linkage 104 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:109:3: error: template with C linkage 109 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:114:3: error: template with C linkage 114 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:119:3: error: template with C linkage 119 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:124:3: error: template with C linkage 124 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:127:3: error: template specialization with C linkage 127 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:132:3: error: template with C linkage 132 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:137:3: error: template with C linkage 137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:142:3: error: template with C linkage 142 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:147:3: error: template with C linkage 147 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:188:3: error: template with C linkage 188 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:190:3: error: template with C linkage 190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:192:3: error: template with C linkage 192 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:194:3: error: template with C linkage 194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:200:3: error: template with C linkage 200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:204:3: error: template with C linkage 204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:226:3: error: template with C linkage 226 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:230:3: error: template with C linkage 230 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:233:3: error: template with C linkage 233 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:238:3: error: template with C linkage 238 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:242:3: error: template specialization with C linkage 242 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:247:3: error: template with C linkage 247 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:252:3: error: template with C linkage 252 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:256:3: error: template specialization with C linkage 256 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:260:3: error: template specialization with C linkage 260 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:264:3: error: template specialization with C linkage 264 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:268:3: error: template specialization with C linkage 268 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:273:3: error: template specialization with C linkage 273 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:284:3: error: template specialization with C linkage 284 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:288:3: error: template specialization with C linkage 288 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:292:3: error: template specialization with C linkage 292 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:296:3: error: template specialization with C linkage 296 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:300:3: error: template specialization with C linkage 300 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:304:3: error: template specialization with C linkage 304 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:308:3: error: template specialization with C linkage 308 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:312:3: error: template specialization with C linkage 312 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:316:3: error: template specialization with C linkage 316 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:320:3: error: template specialization with C linkage 320 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:364:3: error: template with C linkage 364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:369:3: error: template with C linkage 369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:373:3: error: template specialization with C linkage 373 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:377:3: error: template specialization with C linkage 377 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:381:3: error: template specialization with C linkage 381 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:386:3: error: template specialization with C linkage 386 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:392:3: error: template with C linkage 392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:398:3: error: template with C linkage 398 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:402:3: error: template with C linkage 402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:406:3: error: template with C linkage 406 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:410:3: error: template with C linkage 410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:414:3: error: template with C linkage 414 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:419:3: error: template with C linkage 419 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:425:3: error: template with C linkage 425 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:429:3: error: template with C linkage 429 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:434:3: error: template with C linkage 434 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:438:3: error: template with C linkage 438 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:442:3: error: template with C linkage 442 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:446:3: error: template with C linkage 446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:451:3: error: template with C linkage 451 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:456:3: error: template with C linkage 456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:460:3: error: template with C linkage 460 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:465:3: error: template with C linkage 465 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:471:3: error: template with C linkage 471 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:477:3: error: template with C linkage 477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:483:3: error: template with C linkage 483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:489:3: error: template with C linkage 489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:493:3: error: template with C linkage 493 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:497:3: error: template with C linkage 497 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:503:3: error: template with C linkage 503 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:507:3: error: template specialization with C linkage 507 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:512:3: error: template with C linkage 512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:518:3: error: template with C linkage 518 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:526:3: error: template with C linkage 526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:533:3: error: template with C linkage 533 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:539:3: error: template with C linkage 539 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:546:3: error: template with C linkage 546 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:552:3: error: template with C linkage 552 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:556:3: error: template with C linkage 556 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:563:3: error: template with C linkage 563 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:567:3: error: template with C linkage 567 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:571:3: error: template with C linkage 571 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:576:3: error: template with C linkage 576 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:581:3: error: template with C linkage 581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:584:3: error: template with C linkage 584 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:588:3: error: template with C linkage 588 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:607:3: error: template with C linkage 607 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:626:3: error: template with C linkage 626 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:631:3: error: template with C linkage 631 | template using __void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:635:3: error: template with C linkage 635 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:640:3: error: template with C linkage 640 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:648:3: error: template with C linkage 648 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:652:3: error: template with C linkage 652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:657:3: error: template with C linkage 657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:661:3: error: template with C linkage 661 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:666:3: error: template with C linkage 666 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:675:3: error: template with C linkage 675 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:684:3: error: template with C linkage 684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:694:3: error: template with C linkage 694 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:705:3: error: template with C linkage 705 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:714:3: error: template with C linkage 714 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:720:3: error: template with C linkage 720 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:728:3: error: template with C linkage 728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:735:3: error: template with C linkage 735 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:740:3: error: template with C linkage 740 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:751:3: error: template with C linkage 751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:757:3: error: template with C linkage 757 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:770:3: error: template with C linkage 770 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:774:3: error: template with C linkage 774 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:778:3: error: template with C linkage 778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:781:3: error: template with C linkage 781 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:784:3: error: template with C linkage 784 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:787:3: error: template with C linkage 787 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:792:3: error: template with C linkage 792 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:804:5: error: template with C linkage 804 | template().~_Tp())> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:807:5: error: template with C linkage 807 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:811:3: error: template with C linkage 811 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:818:3: error: template with C linkage 818 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:831:3: error: template with C linkage 831 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:835:3: error: template with C linkage 835 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:840:3: error: template with C linkage 840 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:854:5: error: template with C linkage 854 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:858:5: error: template with C linkage 858 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:862:3: error: template with C linkage 862 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:869:3: error: template with C linkage 869 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:882:3: error: template with C linkage 882 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:886:3: error: template with C linkage 886 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:891:3: error: template with C linkage 891 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:899:3: error: template with C linkage 899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:905:3: error: template with C linkage 905 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:914:3: error: template with C linkage 914 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:922:3: error: template with C linkage 922 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:925:3: error: template with C linkage 925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:929:3: error: template with C linkage 929 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:935:3: error: template with C linkage 935 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:943:3: error: template with C linkage 943 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:946:3: error: template with C linkage 946 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:950:3: error: template with C linkage 950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:956:3: error: template with C linkage 956 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:964:3: error: template with C linkage 964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:969:3: error: template with C linkage 969 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:974:3: error: template with C linkage 974 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:979:3: error: template with C linkage 979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:984:3: error: template with C linkage 984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1001:3: error: template with C linkage 1001 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1007:3: error: template with C linkage 1007 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1025:3: error: template with C linkage 1025 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1028:3: error: template with C linkage 1028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1032:3: error: template with C linkage 1032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1038:3: error: template with C linkage 1038 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1046:3: error: template with C linkage 1046 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1049:3: error: template with C linkage 1049 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1053:3: error: template with C linkage 1053 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1076:3: error: template with C linkage 1076 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1079:3: error: template with C linkage 1079 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1083:3: error: template with C linkage 1083 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1089:3: error: template with C linkage 1089 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1097:3: error: template with C linkage 1097 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1100:3: error: template with C linkage 1100 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1104:3: error: template with C linkage 1104 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1110:3: error: template with C linkage 1110 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1118:3: error: template with C linkage 1118 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1123:3: error: template with C linkage 1123 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1130:3: error: template with C linkage 1130 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1138:3: error: template with C linkage 1138 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1141:3: error: template with C linkage 1141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1145:3: error: template with C linkage 1145 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1151:3: error: template with C linkage 1151 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1159:3: error: template with C linkage 1159 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1162:3: error: template with C linkage 1162 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1166:3: error: template with C linkage 1166 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1172:3: error: template with C linkage 1172 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1181:3: error: template with C linkage 1181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1190:3: error: template with C linkage 1190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1200:5: error: template with C linkage 1200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1203:5: error: template with C linkage 1203 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1222:3: error: template with C linkage 1222 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1228:3: error: template with C linkage 1228 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1235:3: error: template with C linkage 1235 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1243:3: error: template with C linkage 1243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1251:3: error: template with C linkage 1251 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1254:3: error: template with C linkage 1254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1258:3: error: template with C linkage 1258 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1266:3: error: template with C linkage 1266 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1275:3: error: template with C linkage 1275 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1283:3: error: template with C linkage 1283 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1286:3: error: template with C linkage 1286 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1290:3: error: template with C linkage 1290 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1296:3: error: template with C linkage 1296 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1304:3: error: template with C linkage 1304 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1307:3: error: template with C linkage 1307 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1311:3: error: template with C linkage 1311 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1317:3: error: template with C linkage 1317 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1326:3: error: template with C linkage 1326 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1337:3: error: template with C linkage 1337 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1349:3: error: template with C linkage 1349 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1358:3: error: template with C linkage 1358 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1362:3: error: template with C linkage 1362 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1366:3: error: template with C linkage 1366 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1371:3: error: template with C linkage 1371 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1375:3: error: template with C linkage 1375 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1382:3: error: template with C linkage 1382 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1393:3: error: template with C linkage 1393 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1410:3: error: template with C linkage 1410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1415:3: error: template with C linkage 1415 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1446:3: error: template with C linkage 1446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1452:3: error: template with C linkage 1452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1456:3: error: template with C linkage 1456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1486:3: error: template with C linkage 1486 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1508:3: error: template with C linkage 1508 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1512:3: error: template with C linkage 1512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1517:3: error: template with C linkage 1517 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1521:3: error: template with C linkage 1521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1526:3: error: template with C linkage 1526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1530:3: error: template with C linkage 1530 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1534:3: error: template with C linkage 1534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1538:3: error: template with C linkage 1538 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1543:3: error: template with C linkage 1543 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1548:3: error: template with C linkage 1548 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1553:3: error: template with C linkage 1553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1565:3: error: template with C linkage 1565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1569:3: error: template with C linkage 1569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1573:3: error: template with C linkage 1573 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1581:3: error: template with C linkage 1581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1592:3: error: template with C linkage 1592 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1596:3: error: template with C linkage 1596 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1600:3: error: template with C linkage 1600 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1604:3: error: template with C linkage 1604 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1608:3: error: template with C linkage 1608 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1613:3: error: template with C linkage 1613 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1618:3: error: template with C linkage 1618 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1622:3: error: template with C linkage 1622 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1627:3: error: template with C linkage 1627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1634:3: error: template with C linkage 1634 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1638:3: error: template with C linkage 1638 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1642:3: error: template with C linkage 1642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1649:3: error: template with C linkage 1649 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1652:3: error: template with C linkage 1652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1656:3: error: template with C linkage 1656 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1660:3: error: template with C linkage 1660 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1664:3: error: template with C linkage 1664 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1668:3: error: template with C linkage 1668 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1684:3: error: template specialization with C linkage 1684 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1688:3: error: template specialization with C linkage 1688 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1692:3: error: template specialization with C linkage 1692 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1696:3: error: template specialization with C linkage 1696 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1700:3: error: template specialization with C linkage 1700 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1704:3: error: template specialization with C linkage 1704 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1730:3: error: template with C linkage 1730 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1749:5: error: template with C linkage 1749 | template struct _List { }; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1751:5: error: template with C linkage 1751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1755:5: error: template with C linkage 1755 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1758:5: error: template with C linkage 1758 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1762:5: error: template with C linkage 1762 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1769:3: error: template with C linkage 1769 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1789:3: error: template specialization with C linkage 1789 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1806:3: error: template specialization with C linkage 1806 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1813:3: error: template specialization with C linkage 1813 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1824:3: error: template with C linkage 1824 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1829:3: error: template specialization with C linkage 1829 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1834:3: error: template with C linkage 1834 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1838:3: error: template specialization with C linkage 1838 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1842:3: error: template specialization with C linkage 1842 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1846:3: error: template specialization with C linkage 1846 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1850:3: error: template specialization with C linkage 1850 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1854:3: error: template specialization with C linkage 1854 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1858:3: error: template specialization with C linkage 1858 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1884:3: error: template with C linkage 1884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1901:3: error: template with C linkage 1901 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1915:3: error: template specialization with C linkage 1915 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1932:3: error: template specialization with C linkage 1932 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1939:3: error: template specialization with C linkage 1939 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1950:3: error: template with C linkage 1950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1955:3: error: template specialization with C linkage 1955 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1960:3: error: template with C linkage 1960 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1971:3: error: template with C linkage 1971 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1975:3: error: template with C linkage 1975 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1979:3: error: template with C linkage 1979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1984:3: error: template with C linkage 1984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1988:3: error: template with C linkage 1988 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1992:3: error: template with C linkage 1992 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:1998:3: error: template with C linkage 1998 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2002:3: error: template with C linkage 2002 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2008:3: error: template with C linkage 2008 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2012:3: error: template with C linkage 2012 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2017:3: error: template with C linkage 2017 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2023:3: error: template with C linkage 2023 | template, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2028:3: error: template with C linkage 2028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2032:3: error: template with C linkage 2032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2039:3: error: template with C linkage 2039 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2043:3: error: template with C linkage 2043 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2047:3: error: template with C linkage 2047 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2085:3: error: template with C linkage 2085 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2122:3: error: template with C linkage 2122 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2127:3: error: template with C linkage 2127 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2137:3: error: template with C linkage 2137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2141:3: error: template with C linkage 2141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2146:3: error: template with C linkage 2146 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2156:3: error: template with C linkage 2156 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2163:3: error: template with C linkage 2163 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2169:3: error: template with C linkage 2169 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2175:3: error: template with C linkage 2175 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2181:3: error: template with C linkage 2181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2186:3: error: template with C linkage 2186 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2191:3: error: template with C linkage 2191 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2194:3: error: template with C linkage 2194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2199:3: error: template with C linkage 2199 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2204:3: error: template with C linkage 2204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2209:3: error: template with C linkage 2209 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2214:3: error: template with C linkage 2214 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2221:5: error: template with C linkage 2221 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2227:5: error: template with C linkage 2227 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2239:5: error: template with C linkage 2239 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2243:5: error: template with C linkage 2243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2249:3: error: template specialization with C linkage 2249 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2254:3: error: template with C linkage 2254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2260:3: error: template with C linkage 2260 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2279:3: error: template with C linkage 2279 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2284:3: error: template with C linkage 2284 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2288:3: error: template with C linkage 2288 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2292:3: error: template with C linkage 2292 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2308:3: error: template with C linkage 2308 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2312:3: error: template with C linkage 2312 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2318:3: error: template with C linkage 2318 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2323:3: error: template with C linkage 2323 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2328:3: error: template with C linkage 2328 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2334:3: error: template with C linkage 2334 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2343:3: error: template with C linkage 2343 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2357:3: error: template with C linkage 2357 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2364:5: error: template with C linkage 2364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2369:5: error: template with C linkage 2369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2373:3: error: template with C linkage 2373 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2383:5: error: template with C linkage 2383 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2388:5: error: template with C linkage 2388 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2392:3: error: template with C linkage 2392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2402:5: error: template with C linkage 2402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2407:5: error: template with C linkage 2407 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2411:3: error: template with C linkage 2411 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2421:5: error: template with C linkage 2421 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2426:5: error: template with C linkage 2426 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2430:3: error: template with C linkage 2430 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2437:3: error: template with C linkage 2437 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2440:3: error: template with C linkage 2440 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2452:3: error: template with C linkage 2452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2455:3: error: template with C linkage 2455 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2471:3: error: template with C linkage 2471 | template> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2477:3: error: template with C linkage 2477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2483:3: error: template with C linkage 2483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2489:3: error: template with C linkage 2489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2495:3: error: template with C linkage 2495 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2504:5: error: template with C linkage 2504 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2509:5: error: template with C linkage 2509 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2513:3: error: template with C linkage 2513 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2521:3: error: template with C linkage 2521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2534:3: error: template with C linkage 2534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2541:3: error: template with C linkage 2541 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2549:3: error: template with C linkage 2549 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2553:3: error: template with C linkage 2553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2557:3: error: template with C linkage 2557 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2561:3: error: template with C linkage 2561 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2565:3: error: template with C linkage 2565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2569:3: error: template with C linkage 2569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2576:3: error: template with C linkage 2576 | template using void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2580:3: error: template with C linkage 2580 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2598:3: error: template with C linkage 2598 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2603:3: error: template with C linkage 2603 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2624:3: error: template with C linkage 2624 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2627:3: error: template with C linkage 2627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2630:3: error: template with C linkage 2630 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2633:3: error: template with C linkage 2633 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2637:3: error: template with C linkage 2637 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2642:3: error: template with C linkage 2642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2657:3: error: template with C linkage 2657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2669:7: error: template with C linkage 2669 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2679:7: error: template with C linkage 2679 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2684:7: error: template with C linkage 2684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2690:3: error: template with C linkage 2690 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2697:3: error: template with C linkage 2697 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2704:3: error: template with C linkage 2704 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2709:3: error: template with C linkage 2709 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2719:3: error: template with C linkage 2719 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2728:3: error: template with C linkage 2728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2738:3: error: template with C linkage 2738 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2743:3: error: template with C linkage 2743 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2753:7: error: template with C linkage 2753 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2765:7: error: template with C linkage 2765 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2772:7: error: template with C linkage 2772 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2778:3: error: template with C linkage 2778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2786:3: error: template with C linkage 2786 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2793:3: error: template with C linkage 2793 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2801:3: error: template with C linkage 2801 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2809:3: error: template with C linkage 2809 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2815:3: error: template with C linkage 2815 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2822:3: error: template with C linkage 2822 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2827:3: error: template with C linkage 2827 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2837:3: error: template with C linkage 2837 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2852:3: error: template with C linkage 2852 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2879:3: error: template with C linkage 2879 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2884:3: error: template with C linkage 2884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2892:3: error: template with C linkage 2892 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2899:3: error: template with C linkage 2899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2906:3: error: template with C linkage 2906 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2912:3: error: template with C linkage 2912 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2918:3: error: template with C linkage 2918 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2925:3: error: template with C linkage 2925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/index.cc:20: /usr/include/c++/10/type_traits:2930:3: error: template with C linkage 2930 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/index.cc:20: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ lib/index.cc: In function 'GMimeFilter* notmuch_filter_discard_non_term_new(GMimeContentType*)': lib/index.cc:252:6: warning: cast between incompatible function types from 'void (*)(NotmuchFilterDiscardNonTermClass*)' {aka 'void (*)(_NotmuchFilterDiscardNonTermClass*)'} to 'GClassInitFunc' {aka 'void (*)(void*, void*)'} [-Wcast-function-type] 252 | (GClassInitFunc) notmuch_filter_discard_non_term_class_init, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile.local:196: lib/index.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' c++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -fvisibility-inlines-hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/parse-time-vrp.cc -o lib/parse-time-vrp.o -MD -MP -MF .deps/lib/parse-time-vrp.d In file included from /usr/include/xapian.h:44, from lib/database-private.h:39, from lib/parse-time-vrp.cc:23: /usr/include/xapian/version.h:29:2: warning: #warning The C++ ABI version of compiler you are using does not exactly match [-Wcpp] 29 | #warning The C++ ABI version of compiler you are using does not exactly match | ^~~~~~~ /usr/include/xapian/version.h:30:2: warning: #warning that of the compiler used to build the library. If linking fails [-Wcpp] 30 | #warning that of the compiler used to build the library. If linking fails | ^~~~~~~ /usr/include/xapian/version.h:31:2: warning: #warning due to missing symbols, this is probably the reason why. [-Wcpp] 31 | #warning due to missing symbols, this is probably the reason why. | ^~~~~~~ /usr/include/xapian/version.h:32:2: warning: #warning The Xapian library was built with g++ 9.2.1 [-Wcpp] 32 | #warning The Xapian library was built with g++ 9.2.1 | ^~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:56:3: error: template with C linkage 56 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:71:3: error: template with C linkage 71 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:80:3: error: template with C linkage 80 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:91:3: error: template with C linkage 91 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:94:3: error: template with C linkage 94 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:98:3: error: template with C linkage 98 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:101:3: error: template with C linkage 101 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:104:3: error: template specialization with C linkage 104 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:109:3: error: template with C linkage 109 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:114:3: error: template with C linkage 114 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:119:3: error: template with C linkage 119 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:124:3: error: template with C linkage 124 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:127:3: error: template specialization with C linkage 127 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:132:3: error: template with C linkage 132 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:137:3: error: template with C linkage 137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:142:3: error: template with C linkage 142 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:147:3: error: template with C linkage 147 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:188:3: error: template with C linkage 188 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:190:3: error: template with C linkage 190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:192:3: error: template with C linkage 192 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:194:3: error: template with C linkage 194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:200:3: error: template with C linkage 200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:204:3: error: template with C linkage 204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:226:3: error: template with C linkage 226 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:230:3: error: template with C linkage 230 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:233:3: error: template with C linkage 233 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:238:3: error: template with C linkage 238 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:242:3: error: template specialization with C linkage 242 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:247:3: error: template with C linkage 247 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:252:3: error: template with C linkage 252 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:256:3: error: template specialization with C linkage 256 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:260:3: error: template specialization with C linkage 260 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:264:3: error: template specialization with C linkage 264 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:268:3: error: template specialization with C linkage 268 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:273:3: error: template specialization with C linkage 273 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:284:3: error: template specialization with C linkage 284 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:288:3: error: template specialization with C linkage 288 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:292:3: error: template specialization with C linkage 292 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:296:3: error: template specialization with C linkage 296 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:300:3: error: template specialization with C linkage 300 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:304:3: error: template specialization with C linkage 304 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:308:3: error: template specialization with C linkage 308 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:312:3: error: template specialization with C linkage 312 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:316:3: error: template specialization with C linkage 316 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:320:3: error: template specialization with C linkage 320 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:364:3: error: template with C linkage 364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:369:3: error: template with C linkage 369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:373:3: error: template specialization with C linkage 373 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:377:3: error: template specialization with C linkage 377 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:381:3: error: template specialization with C linkage 381 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:386:3: error: template specialization with C linkage 386 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:392:3: error: template with C linkage 392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:398:3: error: template with C linkage 398 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:402:3: error: template with C linkage 402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:406:3: error: template with C linkage 406 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:410:3: error: template with C linkage 410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:414:3: error: template with C linkage 414 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:419:3: error: template with C linkage 419 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:425:3: error: template with C linkage 425 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:429:3: error: template with C linkage 429 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:434:3: error: template with C linkage 434 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:438:3: error: template with C linkage 438 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:442:3: error: template with C linkage 442 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:446:3: error: template with C linkage 446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:451:3: error: template with C linkage 451 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:456:3: error: template with C linkage 456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:460:3: error: template with C linkage 460 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:465:3: error: template with C linkage 465 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:471:3: error: template with C linkage 471 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:477:3: error: template with C linkage 477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:483:3: error: template with C linkage 483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:489:3: error: template with C linkage 489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:493:3: error: template with C linkage 493 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:497:3: error: template with C linkage 497 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:503:3: error: template with C linkage 503 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:507:3: error: template specialization with C linkage 507 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:512:3: error: template with C linkage 512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:518:3: error: template with C linkage 518 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:526:3: error: template with C linkage 526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:533:3: error: template with C linkage 533 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:539:3: error: template with C linkage 539 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:546:3: error: template with C linkage 546 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:552:3: error: template with C linkage 552 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:556:3: error: template with C linkage 556 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:563:3: error: template with C linkage 563 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:567:3: error: template with C linkage 567 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:571:3: error: template with C linkage 571 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:576:3: error: template with C linkage 576 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:581:3: error: template with C linkage 581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:584:3: error: template with C linkage 584 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:588:3: error: template with C linkage 588 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:607:3: error: template with C linkage 607 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:626:3: error: template with C linkage 626 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:631:3: error: template with C linkage 631 | template using __void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:635:3: error: template with C linkage 635 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:640:3: error: template with C linkage 640 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:648:3: error: template with C linkage 648 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:652:3: error: template with C linkage 652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:657:3: error: template with C linkage 657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:661:3: error: template with C linkage 661 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:666:3: error: template with C linkage 666 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:675:3: error: template with C linkage 675 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:684:3: error: template with C linkage 684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:694:3: error: template with C linkage 694 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:705:3: error: template with C linkage 705 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:714:3: error: template with C linkage 714 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:720:3: error: template with C linkage 720 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:728:3: error: template with C linkage 728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:735:3: error: template with C linkage 735 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:740:3: error: template with C linkage 740 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:751:3: error: template with C linkage 751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:757:3: error: template with C linkage 757 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:770:3: error: template with C linkage 770 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:774:3: error: template with C linkage 774 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:778:3: error: template with C linkage 778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:781:3: error: template with C linkage 781 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:784:3: error: template with C linkage 784 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:787:3: error: template with C linkage 787 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:792:3: error: template with C linkage 792 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:804:5: error: template with C linkage 804 | template().~_Tp())> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:807:5: error: template with C linkage 807 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:811:3: error: template with C linkage 811 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:818:3: error: template with C linkage 818 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:831:3: error: template with C linkage 831 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:835:3: error: template with C linkage 835 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:840:3: error: template with C linkage 840 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:854:5: error: template with C linkage 854 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:858:5: error: template with C linkage 858 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:862:3: error: template with C linkage 862 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:869:3: error: template with C linkage 869 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:882:3: error: template with C linkage 882 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:886:3: error: template with C linkage 886 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:891:3: error: template with C linkage 891 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:899:3: error: template with C linkage 899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:905:3: error: template with C linkage 905 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:914:3: error: template with C linkage 914 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:922:3: error: template with C linkage 922 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:925:3: error: template with C linkage 925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:929:3: error: template with C linkage 929 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:935:3: error: template with C linkage 935 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:943:3: error: template with C linkage 943 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:946:3: error: template with C linkage 946 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:950:3: error: template with C linkage 950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:956:3: error: template with C linkage 956 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:964:3: error: template with C linkage 964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:969:3: error: template with C linkage 969 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:974:3: error: template with C linkage 974 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:979:3: error: template with C linkage 979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:984:3: error: template with C linkage 984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1001:3: error: template with C linkage 1001 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1007:3: error: template with C linkage 1007 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1025:3: error: template with C linkage 1025 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1028:3: error: template with C linkage 1028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1032:3: error: template with C linkage 1032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1038:3: error: template with C linkage 1038 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1046:3: error: template with C linkage 1046 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1049:3: error: template with C linkage 1049 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1053:3: error: template with C linkage 1053 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1076:3: error: template with C linkage 1076 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1079:3: error: template with C linkage 1079 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1083:3: error: template with C linkage 1083 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1089:3: error: template with C linkage 1089 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1097:3: error: template with C linkage 1097 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1100:3: error: template with C linkage 1100 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1104:3: error: template with C linkage 1104 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1110:3: error: template with C linkage 1110 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1118:3: error: template with C linkage 1118 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1123:3: error: template with C linkage 1123 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1130:3: error: template with C linkage 1130 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1138:3: error: template with C linkage 1138 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1141:3: error: template with C linkage 1141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1145:3: error: template with C linkage 1145 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1151:3: error: template with C linkage 1151 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1159:3: error: template with C linkage 1159 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1162:3: error: template with C linkage 1162 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1166:3: error: template with C linkage 1166 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1172:3: error: template with C linkage 1172 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1181:3: error: template with C linkage 1181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1190:3: error: template with C linkage 1190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1200:5: error: template with C linkage 1200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1203:5: error: template with C linkage 1203 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1222:3: error: template with C linkage 1222 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1228:3: error: template with C linkage 1228 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1235:3: error: template with C linkage 1235 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1243:3: error: template with C linkage 1243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1251:3: error: template with C linkage 1251 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1254:3: error: template with C linkage 1254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1258:3: error: template with C linkage 1258 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1266:3: error: template with C linkage 1266 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1275:3: error: template with C linkage 1275 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1283:3: error: template with C linkage 1283 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1286:3: error: template with C linkage 1286 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1290:3: error: template with C linkage 1290 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1296:3: error: template with C linkage 1296 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1304:3: error: template with C linkage 1304 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1307:3: error: template with C linkage 1307 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1311:3: error: template with C linkage 1311 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1317:3: error: template with C linkage 1317 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1326:3: error: template with C linkage 1326 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1337:3: error: template with C linkage 1337 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1349:3: error: template with C linkage 1349 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1358:3: error: template with C linkage 1358 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1362:3: error: template with C linkage 1362 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1366:3: error: template with C linkage 1366 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1371:3: error: template with C linkage 1371 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1375:3: error: template with C linkage 1375 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1382:3: error: template with C linkage 1382 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1393:3: error: template with C linkage 1393 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1410:3: error: template with C linkage 1410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1415:3: error: template with C linkage 1415 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1446:3: error: template with C linkage 1446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1452:3: error: template with C linkage 1452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1456:3: error: template with C linkage 1456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1486:3: error: template with C linkage 1486 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1508:3: error: template with C linkage 1508 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1512:3: error: template with C linkage 1512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1517:3: error: template with C linkage 1517 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1521:3: error: template with C linkage 1521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1526:3: error: template with C linkage 1526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1530:3: error: template with C linkage 1530 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1534:3: error: template with C linkage 1534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1538:3: error: template with C linkage 1538 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1543:3: error: template with C linkage 1543 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1548:3: error: template with C linkage 1548 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1553:3: error: template with C linkage 1553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1565:3: error: template with C linkage 1565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1569:3: error: template with C linkage 1569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1573:3: error: template with C linkage 1573 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1581:3: error: template with C linkage 1581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1592:3: error: template with C linkage 1592 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1596:3: error: template with C linkage 1596 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1600:3: error: template with C linkage 1600 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1604:3: error: template with C linkage 1604 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1608:3: error: template with C linkage 1608 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1613:3: error: template with C linkage 1613 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1618:3: error: template with C linkage 1618 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1622:3: error: template with C linkage 1622 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1627:3: error: template with C linkage 1627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1634:3: error: template with C linkage 1634 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1638:3: error: template with C linkage 1638 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1642:3: error: template with C linkage 1642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1649:3: error: template with C linkage 1649 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1652:3: error: template with C linkage 1652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1656:3: error: template with C linkage 1656 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1660:3: error: template with C linkage 1660 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1664:3: error: template with C linkage 1664 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1668:3: error: template with C linkage 1668 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1684:3: error: template specialization with C linkage 1684 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1688:3: error: template specialization with C linkage 1688 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1692:3: error: template specialization with C linkage 1692 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1696:3: error: template specialization with C linkage 1696 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1700:3: error: template specialization with C linkage 1700 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1704:3: error: template specialization with C linkage 1704 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1730:3: error: template with C linkage 1730 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1749:5: error: template with C linkage 1749 | template struct _List { }; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1751:5: error: template with C linkage 1751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1755:5: error: template with C linkage 1755 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1758:5: error: template with C linkage 1758 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1762:5: error: template with C linkage 1762 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1769:3: error: template with C linkage 1769 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1789:3: error: template specialization with C linkage 1789 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1806:3: error: template specialization with C linkage 1806 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1813:3: error: template specialization with C linkage 1813 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1824:3: error: template with C linkage 1824 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1829:3: error: template specialization with C linkage 1829 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1834:3: error: template with C linkage 1834 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1838:3: error: template specialization with C linkage 1838 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1842:3: error: template specialization with C linkage 1842 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1846:3: error: template specialization with C linkage 1846 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1850:3: error: template specialization with C linkage 1850 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1854:3: error: template specialization with C linkage 1854 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1858:3: error: template specialization with C linkage 1858 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1884:3: error: template with C linkage 1884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1901:3: error: template with C linkage 1901 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1915:3: error: template specialization with C linkage 1915 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1932:3: error: template specialization with C linkage 1932 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1939:3: error: template specialization with C linkage 1939 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1950:3: error: template with C linkage 1950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1955:3: error: template specialization with C linkage 1955 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1960:3: error: template with C linkage 1960 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1971:3: error: template with C linkage 1971 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1975:3: error: template with C linkage 1975 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1979:3: error: template with C linkage 1979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1984:3: error: template with C linkage 1984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1988:3: error: template with C linkage 1988 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1992:3: error: template with C linkage 1992 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:1998:3: error: template with C linkage 1998 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2002:3: error: template with C linkage 2002 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2008:3: error: template with C linkage 2008 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2012:3: error: template with C linkage 2012 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2017:3: error: template with C linkage 2017 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2023:3: error: template with C linkage 2023 | template, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2028:3: error: template with C linkage 2028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2032:3: error: template with C linkage 2032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2039:3: error: template with C linkage 2039 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2043:3: error: template with C linkage 2043 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2047:3: error: template with C linkage 2047 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2085:3: error: template with C linkage 2085 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2122:3: error: template with C linkage 2122 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2127:3: error: template with C linkage 2127 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2137:3: error: template with C linkage 2137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2141:3: error: template with C linkage 2141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2146:3: error: template with C linkage 2146 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2156:3: error: template with C linkage 2156 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2163:3: error: template with C linkage 2163 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2169:3: error: template with C linkage 2169 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2175:3: error: template with C linkage 2175 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2181:3: error: template with C linkage 2181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2186:3: error: template with C linkage 2186 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2191:3: error: template with C linkage 2191 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2194:3: error: template with C linkage 2194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2199:3: error: template with C linkage 2199 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2204:3: error: template with C linkage 2204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2209:3: error: template with C linkage 2209 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2214:3: error: template with C linkage 2214 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2221:5: error: template with C linkage 2221 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2227:5: error: template with C linkage 2227 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2239:5: error: template with C linkage 2239 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2243:5: error: template with C linkage 2243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2249:3: error: template specialization with C linkage 2249 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2254:3: error: template with C linkage 2254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2260:3: error: template with C linkage 2260 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2279:3: error: template with C linkage 2279 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2284:3: error: template with C linkage 2284 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2288:3: error: template with C linkage 2288 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2292:3: error: template with C linkage 2292 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2308:3: error: template with C linkage 2308 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2312:3: error: template with C linkage 2312 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2318:3: error: template with C linkage 2318 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2323:3: error: template with C linkage 2323 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2328:3: error: template with C linkage 2328 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2334:3: error: template with C linkage 2334 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2343:3: error: template with C linkage 2343 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2357:3: error: template with C linkage 2357 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2364:5: error: template with C linkage 2364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2369:5: error: template with C linkage 2369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2373:3: error: template with C linkage 2373 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2383:5: error: template with C linkage 2383 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2388:5: error: template with C linkage 2388 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2392:3: error: template with C linkage 2392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2402:5: error: template with C linkage 2402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2407:5: error: template with C linkage 2407 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2411:3: error: template with C linkage 2411 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2421:5: error: template with C linkage 2421 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2426:5: error: template with C linkage 2426 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2430:3: error: template with C linkage 2430 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2437:3: error: template with C linkage 2437 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2440:3: error: template with C linkage 2440 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2452:3: error: template with C linkage 2452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2455:3: error: template with C linkage 2455 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2471:3: error: template with C linkage 2471 | template> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2477:3: error: template with C linkage 2477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2483:3: error: template with C linkage 2483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2489:3: error: template with C linkage 2489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2495:3: error: template with C linkage 2495 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2504:5: error: template with C linkage 2504 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2509:5: error: template with C linkage 2509 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2513:3: error: template with C linkage 2513 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2521:3: error: template with C linkage 2521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2534:3: error: template with C linkage 2534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2541:3: error: template with C linkage 2541 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2549:3: error: template with C linkage 2549 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2553:3: error: template with C linkage 2553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2557:3: error: template with C linkage 2557 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2561:3: error: template with C linkage 2561 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2565:3: error: template with C linkage 2565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2569:3: error: template with C linkage 2569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2576:3: error: template with C linkage 2576 | template using void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2580:3: error: template with C linkage 2580 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2598:3: error: template with C linkage 2598 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2603:3: error: template with C linkage 2603 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2624:3: error: template with C linkage 2624 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2627:3: error: template with C linkage 2627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2630:3: error: template with C linkage 2630 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2633:3: error: template with C linkage 2633 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2637:3: error: template with C linkage 2637 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2642:3: error: template with C linkage 2642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2657:3: error: template with C linkage 2657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2669:7: error: template with C linkage 2669 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2679:7: error: template with C linkage 2679 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2684:7: error: template with C linkage 2684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2690:3: error: template with C linkage 2690 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2697:3: error: template with C linkage 2697 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2704:3: error: template with C linkage 2704 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2709:3: error: template with C linkage 2709 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2719:3: error: template with C linkage 2719 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2728:3: error: template with C linkage 2728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2738:3: error: template with C linkage 2738 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2743:3: error: template with C linkage 2743 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2753:7: error: template with C linkage 2753 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2765:7: error: template with C linkage 2765 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2772:7: error: template with C linkage 2772 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2778:3: error: template with C linkage 2778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2786:3: error: template with C linkage 2786 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2793:3: error: template with C linkage 2793 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2801:3: error: template with C linkage 2801 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2809:3: error: template with C linkage 2809 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2815:3: error: template with C linkage 2815 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2822:3: error: template with C linkage 2822 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2827:3: error: template with C linkage 2827 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2837:3: error: template with C linkage 2837 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2852:3: error: template with C linkage 2852 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2879:3: error: template with C linkage 2879 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2884:3: error: template with C linkage 2884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2892:3: error: template with C linkage 2892 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2899:3: error: template with C linkage 2899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2906:3: error: template with C linkage 2906 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2912:3: error: template with C linkage 2912 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2918:3: error: template with C linkage 2918 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2925:3: error: template with C linkage 2925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: /usr/include/c++/10/type_traits:2930:3: error: template with C linkage 2930 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/parse-time-vrp.cc:23: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile.local:196: lib/parse-time-vrp.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' c++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -fvisibility-inlines-hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/message.cc -o lib/message.o -MD -MP -MF .deps/lib/message.d In file included from /usr/include/xapian.h:44, from lib/database-private.h:39, from lib/message.cc:22: /usr/include/xapian/version.h:29:2: warning: #warning The C++ ABI version of compiler you are using does not exactly match [-Wcpp] 29 | #warning The C++ ABI version of compiler you are using does not exactly match | ^~~~~~~ /usr/include/xapian/version.h:30:2: warning: #warning that of the compiler used to build the library. If linking fails [-Wcpp] 30 | #warning that of the compiler used to build the library. If linking fails | ^~~~~~~ /usr/include/xapian/version.h:31:2: warning: #warning due to missing symbols, this is probably the reason why. [-Wcpp] 31 | #warning due to missing symbols, this is probably the reason why. | ^~~~~~~ /usr/include/xapian/version.h:32:2: warning: #warning The Xapian library was built with g++ 9.2.1 [-Wcpp] 32 | #warning The Xapian library was built with g++ 9.2.1 | ^~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:56:3: error: template with C linkage 56 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:71:3: error: template with C linkage 71 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:80:3: error: template with C linkage 80 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:91:3: error: template with C linkage 91 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:94:3: error: template with C linkage 94 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:98:3: error: template with C linkage 98 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:101:3: error: template with C linkage 101 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:104:3: error: template specialization with C linkage 104 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:109:3: error: template with C linkage 109 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:114:3: error: template with C linkage 114 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:119:3: error: template with C linkage 119 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:124:3: error: template with C linkage 124 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:127:3: error: template specialization with C linkage 127 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:132:3: error: template with C linkage 132 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:137:3: error: template with C linkage 137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:142:3: error: template with C linkage 142 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:147:3: error: template with C linkage 147 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:188:3: error: template with C linkage 188 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:190:3: error: template with C linkage 190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:192:3: error: template with C linkage 192 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:194:3: error: template with C linkage 194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:200:3: error: template with C linkage 200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:204:3: error: template with C linkage 204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:226:3: error: template with C linkage 226 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:230:3: error: template with C linkage 230 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:233:3: error: template with C linkage 233 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:238:3: error: template with C linkage 238 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:242:3: error: template specialization with C linkage 242 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:247:3: error: template with C linkage 247 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:252:3: error: template with C linkage 252 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:256:3: error: template specialization with C linkage 256 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:260:3: error: template specialization with C linkage 260 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:264:3: error: template specialization with C linkage 264 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:268:3: error: template specialization with C linkage 268 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:273:3: error: template specialization with C linkage 273 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:284:3: error: template specialization with C linkage 284 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:288:3: error: template specialization with C linkage 288 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:292:3: error: template specialization with C linkage 292 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:296:3: error: template specialization with C linkage 296 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:300:3: error: template specialization with C linkage 300 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:304:3: error: template specialization with C linkage 304 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:308:3: error: template specialization with C linkage 308 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:312:3: error: template specialization with C linkage 312 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:316:3: error: template specialization with C linkage 316 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:320:3: error: template specialization with C linkage 320 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:364:3: error: template with C linkage 364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:369:3: error: template with C linkage 369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:373:3: error: template specialization with C linkage 373 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:377:3: error: template specialization with C linkage 377 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:381:3: error: template specialization with C linkage 381 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:386:3: error: template specialization with C linkage 386 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:392:3: error: template with C linkage 392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:398:3: error: template with C linkage 398 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:402:3: error: template with C linkage 402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:406:3: error: template with C linkage 406 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:410:3: error: template with C linkage 410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:414:3: error: template with C linkage 414 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:419:3: error: template with C linkage 419 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:425:3: error: template with C linkage 425 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:429:3: error: template with C linkage 429 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:434:3: error: template with C linkage 434 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:438:3: error: template with C linkage 438 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:442:3: error: template with C linkage 442 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:446:3: error: template with C linkage 446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:451:3: error: template with C linkage 451 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:456:3: error: template with C linkage 456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:460:3: error: template with C linkage 460 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:465:3: error: template with C linkage 465 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:471:3: error: template with C linkage 471 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:477:3: error: template with C linkage 477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:483:3: error: template with C linkage 483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:489:3: error: template with C linkage 489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:493:3: error: template with C linkage 493 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:497:3: error: template with C linkage 497 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:503:3: error: template with C linkage 503 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:507:3: error: template specialization with C linkage 507 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:512:3: error: template with C linkage 512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:518:3: error: template with C linkage 518 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:526:3: error: template with C linkage 526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:533:3: error: template with C linkage 533 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:539:3: error: template with C linkage 539 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:546:3: error: template with C linkage 546 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:552:3: error: template with C linkage 552 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:556:3: error: template with C linkage 556 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:563:3: error: template with C linkage 563 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:567:3: error: template with C linkage 567 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:571:3: error: template with C linkage 571 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:576:3: error: template with C linkage 576 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:581:3: error: template with C linkage 581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:584:3: error: template with C linkage 584 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:588:3: error: template with C linkage 588 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:607:3: error: template with C linkage 607 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:626:3: error: template with C linkage 626 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:631:3: error: template with C linkage 631 | template using __void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:635:3: error: template with C linkage 635 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:640:3: error: template with C linkage 640 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:648:3: error: template with C linkage 648 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:652:3: error: template with C linkage 652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:657:3: error: template with C linkage 657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:661:3: error: template with C linkage 661 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:666:3: error: template with C linkage 666 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:675:3: error: template with C linkage 675 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:684:3: error: template with C linkage 684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:694:3: error: template with C linkage 694 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:705:3: error: template with C linkage 705 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:714:3: error: template with C linkage 714 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:720:3: error: template with C linkage 720 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:728:3: error: template with C linkage 728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:735:3: error: template with C linkage 735 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:740:3: error: template with C linkage 740 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:751:3: error: template with C linkage 751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:757:3: error: template with C linkage 757 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:770:3: error: template with C linkage 770 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:774:3: error: template with C linkage 774 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:778:3: error: template with C linkage 778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:781:3: error: template with C linkage 781 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:784:3: error: template with C linkage 784 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:787:3: error: template with C linkage 787 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:792:3: error: template with C linkage 792 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:804:5: error: template with C linkage 804 | template().~_Tp())> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:807:5: error: template with C linkage 807 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:811:3: error: template with C linkage 811 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:818:3: error: template with C linkage 818 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:831:3: error: template with C linkage 831 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:835:3: error: template with C linkage 835 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:840:3: error: template with C linkage 840 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:854:5: error: template with C linkage 854 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:858:5: error: template with C linkage 858 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:862:3: error: template with C linkage 862 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:869:3: error: template with C linkage 869 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:882:3: error: template with C linkage 882 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:886:3: error: template with C linkage 886 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:891:3: error: template with C linkage 891 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:899:3: error: template with C linkage 899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:905:3: error: template with C linkage 905 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:914:3: error: template with C linkage 914 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:922:3: error: template with C linkage 922 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:925:3: error: template with C linkage 925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:929:3: error: template with C linkage 929 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:935:3: error: template with C linkage 935 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:943:3: error: template with C linkage 943 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:946:3: error: template with C linkage 946 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:950:3: error: template with C linkage 950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:956:3: error: template with C linkage 956 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:964:3: error: template with C linkage 964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:969:3: error: template with C linkage 969 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:974:3: error: template with C linkage 974 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:979:3: error: template with C linkage 979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:984:3: error: template with C linkage 984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1001:3: error: template with C linkage 1001 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1007:3: error: template with C linkage 1007 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1025:3: error: template with C linkage 1025 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1028:3: error: template with C linkage 1028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1032:3: error: template with C linkage 1032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1038:3: error: template with C linkage 1038 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1046:3: error: template with C linkage 1046 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1049:3: error: template with C linkage 1049 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1053:3: error: template with C linkage 1053 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1076:3: error: template with C linkage 1076 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1079:3: error: template with C linkage 1079 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1083:3: error: template with C linkage 1083 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1089:3: error: template with C linkage 1089 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1097:3: error: template with C linkage 1097 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1100:3: error: template with C linkage 1100 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1104:3: error: template with C linkage 1104 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1110:3: error: template with C linkage 1110 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1118:3: error: template with C linkage 1118 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1123:3: error: template with C linkage 1123 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1130:3: error: template with C linkage 1130 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1138:3: error: template with C linkage 1138 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1141:3: error: template with C linkage 1141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1145:3: error: template with C linkage 1145 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1151:3: error: template with C linkage 1151 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1159:3: error: template with C linkage 1159 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1162:3: error: template with C linkage 1162 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1166:3: error: template with C linkage 1166 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1172:3: error: template with C linkage 1172 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1181:3: error: template with C linkage 1181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1190:3: error: template with C linkage 1190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1200:5: error: template with C linkage 1200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1203:5: error: template with C linkage 1203 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1222:3: error: template with C linkage 1222 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1228:3: error: template with C linkage 1228 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1235:3: error: template with C linkage 1235 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1243:3: error: template with C linkage 1243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1251:3: error: template with C linkage 1251 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1254:3: error: template with C linkage 1254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1258:3: error: template with C linkage 1258 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1266:3: error: template with C linkage 1266 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1275:3: error: template with C linkage 1275 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1283:3: error: template with C linkage 1283 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1286:3: error: template with C linkage 1286 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1290:3: error: template with C linkage 1290 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1296:3: error: template with C linkage 1296 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1304:3: error: template with C linkage 1304 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1307:3: error: template with C linkage 1307 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1311:3: error: template with C linkage 1311 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1317:3: error: template with C linkage 1317 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1326:3: error: template with C linkage 1326 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1337:3: error: template with C linkage 1337 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1349:3: error: template with C linkage 1349 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1358:3: error: template with C linkage 1358 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1362:3: error: template with C linkage 1362 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1366:3: error: template with C linkage 1366 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1371:3: error: template with C linkage 1371 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1375:3: error: template with C linkage 1375 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1382:3: error: template with C linkage 1382 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1393:3: error: template with C linkage 1393 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1410:3: error: template with C linkage 1410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1415:3: error: template with C linkage 1415 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1446:3: error: template with C linkage 1446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1452:3: error: template with C linkage 1452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1456:3: error: template with C linkage 1456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1486:3: error: template with C linkage 1486 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1508:3: error: template with C linkage 1508 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1512:3: error: template with C linkage 1512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1517:3: error: template with C linkage 1517 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1521:3: error: template with C linkage 1521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1526:3: error: template with C linkage 1526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1530:3: error: template with C linkage 1530 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1534:3: error: template with C linkage 1534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1538:3: error: template with C linkage 1538 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1543:3: error: template with C linkage 1543 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1548:3: error: template with C linkage 1548 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1553:3: error: template with C linkage 1553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1565:3: error: template with C linkage 1565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1569:3: error: template with C linkage 1569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1573:3: error: template with C linkage 1573 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1581:3: error: template with C linkage 1581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1592:3: error: template with C linkage 1592 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1596:3: error: template with C linkage 1596 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1600:3: error: template with C linkage 1600 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1604:3: error: template with C linkage 1604 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1608:3: error: template with C linkage 1608 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1613:3: error: template with C linkage 1613 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1618:3: error: template with C linkage 1618 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1622:3: error: template with C linkage 1622 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1627:3: error: template with C linkage 1627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1634:3: error: template with C linkage 1634 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1638:3: error: template with C linkage 1638 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1642:3: error: template with C linkage 1642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1649:3: error: template with C linkage 1649 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1652:3: error: template with C linkage 1652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1656:3: error: template with C linkage 1656 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1660:3: error: template with C linkage 1660 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1664:3: error: template with C linkage 1664 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1668:3: error: template with C linkage 1668 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1684:3: error: template specialization with C linkage 1684 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1688:3: error: template specialization with C linkage 1688 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1692:3: error: template specialization with C linkage 1692 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1696:3: error: template specialization with C linkage 1696 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1700:3: error: template specialization with C linkage 1700 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1704:3: error: template specialization with C linkage 1704 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1730:3: error: template with C linkage 1730 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1749:5: error: template with C linkage 1749 | template struct _List { }; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1751:5: error: template with C linkage 1751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1755:5: error: template with C linkage 1755 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1758:5: error: template with C linkage 1758 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1762:5: error: template with C linkage 1762 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1769:3: error: template with C linkage 1769 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1789:3: error: template specialization with C linkage 1789 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1806:3: error: template specialization with C linkage 1806 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1813:3: error: template specialization with C linkage 1813 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1824:3: error: template with C linkage 1824 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1829:3: error: template specialization with C linkage 1829 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1834:3: error: template with C linkage 1834 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1838:3: error: template specialization with C linkage 1838 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1842:3: error: template specialization with C linkage 1842 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1846:3: error: template specialization with C linkage 1846 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1850:3: error: template specialization with C linkage 1850 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1854:3: error: template specialization with C linkage 1854 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1858:3: error: template specialization with C linkage 1858 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1884:3: error: template with C linkage 1884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1901:3: error: template with C linkage 1901 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1915:3: error: template specialization with C linkage 1915 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1932:3: error: template specialization with C linkage 1932 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1939:3: error: template specialization with C linkage 1939 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1950:3: error: template with C linkage 1950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1955:3: error: template specialization with C linkage 1955 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1960:3: error: template with C linkage 1960 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1971:3: error: template with C linkage 1971 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1975:3: error: template with C linkage 1975 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1979:3: error: template with C linkage 1979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1984:3: error: template with C linkage 1984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1988:3: error: template with C linkage 1988 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1992:3: error: template with C linkage 1992 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:1998:3: error: template with C linkage 1998 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2002:3: error: template with C linkage 2002 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2008:3: error: template with C linkage 2008 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2012:3: error: template with C linkage 2012 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2017:3: error: template with C linkage 2017 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2023:3: error: template with C linkage 2023 | template, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2028:3: error: template with C linkage 2028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2032:3: error: template with C linkage 2032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2039:3: error: template with C linkage 2039 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2043:3: error: template with C linkage 2043 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2047:3: error: template with C linkage 2047 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2085:3: error: template with C linkage 2085 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2122:3: error: template with C linkage 2122 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2127:3: error: template with C linkage 2127 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2137:3: error: template with C linkage 2137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2141:3: error: template with C linkage 2141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2146:3: error: template with C linkage 2146 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2156:3: error: template with C linkage 2156 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2163:3: error: template with C linkage 2163 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2169:3: error: template with C linkage 2169 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2175:3: error: template with C linkage 2175 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2181:3: error: template with C linkage 2181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2186:3: error: template with C linkage 2186 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2191:3: error: template with C linkage 2191 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2194:3: error: template with C linkage 2194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2199:3: error: template with C linkage 2199 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2204:3: error: template with C linkage 2204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2209:3: error: template with C linkage 2209 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2214:3: error: template with C linkage 2214 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2221:5: error: template with C linkage 2221 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2227:5: error: template with C linkage 2227 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2239:5: error: template with C linkage 2239 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2243:5: error: template with C linkage 2243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2249:3: error: template specialization with C linkage 2249 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2254:3: error: template with C linkage 2254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2260:3: error: template with C linkage 2260 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2279:3: error: template with C linkage 2279 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2284:3: error: template with C linkage 2284 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2288:3: error: template with C linkage 2288 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2292:3: error: template with C linkage 2292 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2308:3: error: template with C linkage 2308 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2312:3: error: template with C linkage 2312 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2318:3: error: template with C linkage 2318 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2323:3: error: template with C linkage 2323 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2328:3: error: template with C linkage 2328 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2334:3: error: template with C linkage 2334 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2343:3: error: template with C linkage 2343 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2357:3: error: template with C linkage 2357 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2364:5: error: template with C linkage 2364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2369:5: error: template with C linkage 2369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2373:3: error: template with C linkage 2373 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2383:5: error: template with C linkage 2383 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2388:5: error: template with C linkage 2388 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2392:3: error: template with C linkage 2392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2402:5: error: template with C linkage 2402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2407:5: error: template with C linkage 2407 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2411:3: error: template with C linkage 2411 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2421:5: error: template with C linkage 2421 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2426:5: error: template with C linkage 2426 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2430:3: error: template with C linkage 2430 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2437:3: error: template with C linkage 2437 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2440:3: error: template with C linkage 2440 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2452:3: error: template with C linkage 2452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2455:3: error: template with C linkage 2455 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2471:3: error: template with C linkage 2471 | template> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2477:3: error: template with C linkage 2477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2483:3: error: template with C linkage 2483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2489:3: error: template with C linkage 2489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2495:3: error: template with C linkage 2495 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2504:5: error: template with C linkage 2504 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2509:5: error: template with C linkage 2509 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2513:3: error: template with C linkage 2513 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2521:3: error: template with C linkage 2521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2534:3: error: template with C linkage 2534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2541:3: error: template with C linkage 2541 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2549:3: error: template with C linkage 2549 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2553:3: error: template with C linkage 2553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2557:3: error: template with C linkage 2557 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2561:3: error: template with C linkage 2561 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2565:3: error: template with C linkage 2565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2569:3: error: template with C linkage 2569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2576:3: error: template with C linkage 2576 | template using void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2580:3: error: template with C linkage 2580 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2598:3: error: template with C linkage 2598 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2603:3: error: template with C linkage 2603 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2624:3: error: template with C linkage 2624 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2627:3: error: template with C linkage 2627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2630:3: error: template with C linkage 2630 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2633:3: error: template with C linkage 2633 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2637:3: error: template with C linkage 2637 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2642:3: error: template with C linkage 2642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2657:3: error: template with C linkage 2657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2669:7: error: template with C linkage 2669 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2679:7: error: template with C linkage 2679 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2684:7: error: template with C linkage 2684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2690:3: error: template with C linkage 2690 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2697:3: error: template with C linkage 2697 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2704:3: error: template with C linkage 2704 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2709:3: error: template with C linkage 2709 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2719:3: error: template with C linkage 2719 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2728:3: error: template with C linkage 2728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2738:3: error: template with C linkage 2738 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2743:3: error: template with C linkage 2743 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2753:7: error: template with C linkage 2753 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2765:7: error: template with C linkage 2765 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2772:7: error: template with C linkage 2772 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2778:3: error: template with C linkage 2778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2786:3: error: template with C linkage 2786 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2793:3: error: template with C linkage 2793 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2801:3: error: template with C linkage 2801 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2809:3: error: template with C linkage 2809 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2815:3: error: template with C linkage 2815 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2822:3: error: template with C linkage 2822 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2827:3: error: template with C linkage 2827 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2837:3: error: template with C linkage 2837 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2852:3: error: template with C linkage 2852 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2879:3: error: template with C linkage 2879 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2884:3: error: template with C linkage 2884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2892:3: error: template with C linkage 2892 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2899:3: error: template with C linkage 2899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2906:3: error: template with C linkage 2906 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2912:3: error: template with C linkage 2912 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2918:3: error: template with C linkage 2918 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2925:3: error: template with C linkage 2925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/message.cc:21: /usr/include/c++/10/type_traits:2930:3: error: template with C linkage 2930 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/message.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile.local:196: lib/message.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' c++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -fvisibility-inlines-hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/query.cc -o lib/query.o -MD -MP -MF .deps/lib/query.d In file included from /usr/include/xapian.h:44, from lib/database-private.h:39, from lib/query.cc:22: /usr/include/xapian/version.h:29:2: warning: #warning The C++ ABI version of compiler you are using does not exactly match [-Wcpp] 29 | #warning The C++ ABI version of compiler you are using does not exactly match | ^~~~~~~ /usr/include/xapian/version.h:30:2: warning: #warning that of the compiler used to build the library. If linking fails [-Wcpp] 30 | #warning that of the compiler used to build the library. If linking fails | ^~~~~~~ /usr/include/xapian/version.h:31:2: warning: #warning due to missing symbols, this is probably the reason why. [-Wcpp] 31 | #warning due to missing symbols, this is probably the reason why. | ^~~~~~~ /usr/include/xapian/version.h:32:2: warning: #warning The Xapian library was built with g++ 9.2.1 [-Wcpp] 32 | #warning The Xapian library was built with g++ 9.2.1 | ^~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:56:3: error: template with C linkage 56 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:71:3: error: template with C linkage 71 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:80:3: error: template with C linkage 80 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:91:3: error: template with C linkage 91 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:94:3: error: template with C linkage 94 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:98:3: error: template with C linkage 98 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:101:3: error: template with C linkage 101 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:104:3: error: template specialization with C linkage 104 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:109:3: error: template with C linkage 109 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:114:3: error: template with C linkage 114 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:119:3: error: template with C linkage 119 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:124:3: error: template with C linkage 124 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:127:3: error: template specialization with C linkage 127 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:132:3: error: template with C linkage 132 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:137:3: error: template with C linkage 137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:142:3: error: template with C linkage 142 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:147:3: error: template with C linkage 147 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:188:3: error: template with C linkage 188 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:190:3: error: template with C linkage 190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:192:3: error: template with C linkage 192 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:194:3: error: template with C linkage 194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:200:3: error: template with C linkage 200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:204:3: error: template with C linkage 204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:226:3: error: template with C linkage 226 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:230:3: error: template with C linkage 230 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:233:3: error: template with C linkage 233 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:238:3: error: template with C linkage 238 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:242:3: error: template specialization with C linkage 242 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:247:3: error: template with C linkage 247 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:252:3: error: template with C linkage 252 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:256:3: error: template specialization with C linkage 256 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:260:3: error: template specialization with C linkage 260 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:264:3: error: template specialization with C linkage 264 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:268:3: error: template specialization with C linkage 268 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:273:3: error: template specialization with C linkage 273 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:284:3: error: template specialization with C linkage 284 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:288:3: error: template specialization with C linkage 288 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:292:3: error: template specialization with C linkage 292 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:296:3: error: template specialization with C linkage 296 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:300:3: error: template specialization with C linkage 300 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:304:3: error: template specialization with C linkage 304 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:308:3: error: template specialization with C linkage 308 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:312:3: error: template specialization with C linkage 312 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:316:3: error: template specialization with C linkage 316 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:320:3: error: template specialization with C linkage 320 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:364:3: error: template with C linkage 364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:369:3: error: template with C linkage 369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:373:3: error: template specialization with C linkage 373 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:377:3: error: template specialization with C linkage 377 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:381:3: error: template specialization with C linkage 381 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:386:3: error: template specialization with C linkage 386 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:392:3: error: template with C linkage 392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:398:3: error: template with C linkage 398 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:402:3: error: template with C linkage 402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:406:3: error: template with C linkage 406 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:410:3: error: template with C linkage 410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:414:3: error: template with C linkage 414 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:419:3: error: template with C linkage 419 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:425:3: error: template with C linkage 425 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:429:3: error: template with C linkage 429 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:434:3: error: template with C linkage 434 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:438:3: error: template with C linkage 438 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:442:3: error: template with C linkage 442 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:446:3: error: template with C linkage 446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:451:3: error: template with C linkage 451 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:456:3: error: template with C linkage 456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:460:3: error: template with C linkage 460 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:465:3: error: template with C linkage 465 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:471:3: error: template with C linkage 471 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:477:3: error: template with C linkage 477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:483:3: error: template with C linkage 483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:489:3: error: template with C linkage 489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:493:3: error: template with C linkage 493 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:497:3: error: template with C linkage 497 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:503:3: error: template with C linkage 503 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:507:3: error: template specialization with C linkage 507 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:512:3: error: template with C linkage 512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:518:3: error: template with C linkage 518 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:526:3: error: template with C linkage 526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:533:3: error: template with C linkage 533 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:539:3: error: template with C linkage 539 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:546:3: error: template with C linkage 546 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:552:3: error: template with C linkage 552 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:556:3: error: template with C linkage 556 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:563:3: error: template with C linkage 563 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:567:3: error: template with C linkage 567 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:571:3: error: template with C linkage 571 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:576:3: error: template with C linkage 576 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:581:3: error: template with C linkage 581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:584:3: error: template with C linkage 584 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:588:3: error: template with C linkage 588 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:607:3: error: template with C linkage 607 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:626:3: error: template with C linkage 626 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:631:3: error: template with C linkage 631 | template using __void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:635:3: error: template with C linkage 635 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:640:3: error: template with C linkage 640 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:648:3: error: template with C linkage 648 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:652:3: error: template with C linkage 652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:657:3: error: template with C linkage 657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:661:3: error: template with C linkage 661 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:666:3: error: template with C linkage 666 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:675:3: error: template with C linkage 675 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:684:3: error: template with C linkage 684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:694:3: error: template with C linkage 694 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:705:3: error: template with C linkage 705 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:714:3: error: template with C linkage 714 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:720:3: error: template with C linkage 720 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:728:3: error: template with C linkage 728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:735:3: error: template with C linkage 735 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:740:3: error: template with C linkage 740 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:751:3: error: template with C linkage 751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:757:3: error: template with C linkage 757 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:770:3: error: template with C linkage 770 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:774:3: error: template with C linkage 774 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:778:3: error: template with C linkage 778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:781:3: error: template with C linkage 781 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:784:3: error: template with C linkage 784 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:787:3: error: template with C linkage 787 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:792:3: error: template with C linkage 792 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:804:5: error: template with C linkage 804 | template().~_Tp())> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:807:5: error: template with C linkage 807 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:811:3: error: template with C linkage 811 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:818:3: error: template with C linkage 818 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:831:3: error: template with C linkage 831 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:835:3: error: template with C linkage 835 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:840:3: error: template with C linkage 840 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:854:5: error: template with C linkage 854 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:858:5: error: template with C linkage 858 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:862:3: error: template with C linkage 862 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:869:3: error: template with C linkage 869 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:882:3: error: template with C linkage 882 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:886:3: error: template with C linkage 886 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:891:3: error: template with C linkage 891 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:899:3: error: template with C linkage 899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:905:3: error: template with C linkage 905 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:914:3: error: template with C linkage 914 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:922:3: error: template with C linkage 922 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:925:3: error: template with C linkage 925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:929:3: error: template with C linkage 929 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:935:3: error: template with C linkage 935 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:943:3: error: template with C linkage 943 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:946:3: error: template with C linkage 946 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:950:3: error: template with C linkage 950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:956:3: error: template with C linkage 956 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:964:3: error: template with C linkage 964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:969:3: error: template with C linkage 969 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:974:3: error: template with C linkage 974 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:979:3: error: template with C linkage 979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:984:3: error: template with C linkage 984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1001:3: error: template with C linkage 1001 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1007:3: error: template with C linkage 1007 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1025:3: error: template with C linkage 1025 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1028:3: error: template with C linkage 1028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1032:3: error: template with C linkage 1032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1038:3: error: template with C linkage 1038 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1046:3: error: template with C linkage 1046 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1049:3: error: template with C linkage 1049 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1053:3: error: template with C linkage 1053 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1076:3: error: template with C linkage 1076 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1079:3: error: template with C linkage 1079 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1083:3: error: template with C linkage 1083 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1089:3: error: template with C linkage 1089 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1097:3: error: template with C linkage 1097 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1100:3: error: template with C linkage 1100 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1104:3: error: template with C linkage 1104 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1110:3: error: template with C linkage 1110 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1118:3: error: template with C linkage 1118 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1123:3: error: template with C linkage 1123 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1130:3: error: template with C linkage 1130 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1138:3: error: template with C linkage 1138 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1141:3: error: template with C linkage 1141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1145:3: error: template with C linkage 1145 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1151:3: error: template with C linkage 1151 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1159:3: error: template with C linkage 1159 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1162:3: error: template with C linkage 1162 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1166:3: error: template with C linkage 1166 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1172:3: error: template with C linkage 1172 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1181:3: error: template with C linkage 1181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1190:3: error: template with C linkage 1190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1200:5: error: template with C linkage 1200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1203:5: error: template with C linkage 1203 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1222:3: error: template with C linkage 1222 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1228:3: error: template with C linkage 1228 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1235:3: error: template with C linkage 1235 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1243:3: error: template with C linkage 1243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1251:3: error: template with C linkage 1251 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1254:3: error: template with C linkage 1254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1258:3: error: template with C linkage 1258 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1266:3: error: template with C linkage 1266 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1275:3: error: template with C linkage 1275 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1283:3: error: template with C linkage 1283 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1286:3: error: template with C linkage 1286 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1290:3: error: template with C linkage 1290 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1296:3: error: template with C linkage 1296 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1304:3: error: template with C linkage 1304 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1307:3: error: template with C linkage 1307 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1311:3: error: template with C linkage 1311 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1317:3: error: template with C linkage 1317 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1326:3: error: template with C linkage 1326 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1337:3: error: template with C linkage 1337 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1349:3: error: template with C linkage 1349 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1358:3: error: template with C linkage 1358 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1362:3: error: template with C linkage 1362 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1366:3: error: template with C linkage 1366 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1371:3: error: template with C linkage 1371 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1375:3: error: template with C linkage 1375 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1382:3: error: template with C linkage 1382 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1393:3: error: template with C linkage 1393 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1410:3: error: template with C linkage 1410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1415:3: error: template with C linkage 1415 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1446:3: error: template with C linkage 1446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1452:3: error: template with C linkage 1452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1456:3: error: template with C linkage 1456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1486:3: error: template with C linkage 1486 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1508:3: error: template with C linkage 1508 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1512:3: error: template with C linkage 1512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1517:3: error: template with C linkage 1517 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1521:3: error: template with C linkage 1521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1526:3: error: template with C linkage 1526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1530:3: error: template with C linkage 1530 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1534:3: error: template with C linkage 1534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1538:3: error: template with C linkage 1538 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1543:3: error: template with C linkage 1543 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1548:3: error: template with C linkage 1548 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1553:3: error: template with C linkage 1553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1565:3: error: template with C linkage 1565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1569:3: error: template with C linkage 1569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1573:3: error: template with C linkage 1573 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1581:3: error: template with C linkage 1581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1592:3: error: template with C linkage 1592 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1596:3: error: template with C linkage 1596 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1600:3: error: template with C linkage 1600 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1604:3: error: template with C linkage 1604 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1608:3: error: template with C linkage 1608 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1613:3: error: template with C linkage 1613 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1618:3: error: template with C linkage 1618 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1622:3: error: template with C linkage 1622 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1627:3: error: template with C linkage 1627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1634:3: error: template with C linkage 1634 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1638:3: error: template with C linkage 1638 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1642:3: error: template with C linkage 1642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1649:3: error: template with C linkage 1649 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1652:3: error: template with C linkage 1652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1656:3: error: template with C linkage 1656 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1660:3: error: template with C linkage 1660 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1664:3: error: template with C linkage 1664 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1668:3: error: template with C linkage 1668 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1684:3: error: template specialization with C linkage 1684 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1688:3: error: template specialization with C linkage 1688 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1692:3: error: template specialization with C linkage 1692 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1696:3: error: template specialization with C linkage 1696 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1700:3: error: template specialization with C linkage 1700 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1704:3: error: template specialization with C linkage 1704 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1730:3: error: template with C linkage 1730 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1749:5: error: template with C linkage 1749 | template struct _List { }; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1751:5: error: template with C linkage 1751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1755:5: error: template with C linkage 1755 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1758:5: error: template with C linkage 1758 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1762:5: error: template with C linkage 1762 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1769:3: error: template with C linkage 1769 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1789:3: error: template specialization with C linkage 1789 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1806:3: error: template specialization with C linkage 1806 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1813:3: error: template specialization with C linkage 1813 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1824:3: error: template with C linkage 1824 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1829:3: error: template specialization with C linkage 1829 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1834:3: error: template with C linkage 1834 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1838:3: error: template specialization with C linkage 1838 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1842:3: error: template specialization with C linkage 1842 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1846:3: error: template specialization with C linkage 1846 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1850:3: error: template specialization with C linkage 1850 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1854:3: error: template specialization with C linkage 1854 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1858:3: error: template specialization with C linkage 1858 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1884:3: error: template with C linkage 1884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1901:3: error: template with C linkage 1901 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1915:3: error: template specialization with C linkage 1915 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1932:3: error: template specialization with C linkage 1932 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1939:3: error: template specialization with C linkage 1939 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1950:3: error: template with C linkage 1950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1955:3: error: template specialization with C linkage 1955 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1960:3: error: template with C linkage 1960 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1971:3: error: template with C linkage 1971 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1975:3: error: template with C linkage 1975 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1979:3: error: template with C linkage 1979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1984:3: error: template with C linkage 1984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1988:3: error: template with C linkage 1988 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1992:3: error: template with C linkage 1992 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:1998:3: error: template with C linkage 1998 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2002:3: error: template with C linkage 2002 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2008:3: error: template with C linkage 2008 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2012:3: error: template with C linkage 2012 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2017:3: error: template with C linkage 2017 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2023:3: error: template with C linkage 2023 | template, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2028:3: error: template with C linkage 2028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2032:3: error: template with C linkage 2032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2039:3: error: template with C linkage 2039 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2043:3: error: template with C linkage 2043 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2047:3: error: template with C linkage 2047 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2085:3: error: template with C linkage 2085 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2122:3: error: template with C linkage 2122 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2127:3: error: template with C linkage 2127 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2137:3: error: template with C linkage 2137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2141:3: error: template with C linkage 2141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2146:3: error: template with C linkage 2146 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2156:3: error: template with C linkage 2156 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2163:3: error: template with C linkage 2163 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2169:3: error: template with C linkage 2169 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2175:3: error: template with C linkage 2175 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2181:3: error: template with C linkage 2181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2186:3: error: template with C linkage 2186 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2191:3: error: template with C linkage 2191 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2194:3: error: template with C linkage 2194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2199:3: error: template with C linkage 2199 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2204:3: error: template with C linkage 2204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2209:3: error: template with C linkage 2209 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2214:3: error: template with C linkage 2214 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2221:5: error: template with C linkage 2221 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2227:5: error: template with C linkage 2227 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2239:5: error: template with C linkage 2239 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2243:5: error: template with C linkage 2243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2249:3: error: template specialization with C linkage 2249 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2254:3: error: template with C linkage 2254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2260:3: error: template with C linkage 2260 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2279:3: error: template with C linkage 2279 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2284:3: error: template with C linkage 2284 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2288:3: error: template with C linkage 2288 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2292:3: error: template with C linkage 2292 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2308:3: error: template with C linkage 2308 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2312:3: error: template with C linkage 2312 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2318:3: error: template with C linkage 2318 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2323:3: error: template with C linkage 2323 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2328:3: error: template with C linkage 2328 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2334:3: error: template with C linkage 2334 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2343:3: error: template with C linkage 2343 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2357:3: error: template with C linkage 2357 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2364:5: error: template with C linkage 2364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2369:5: error: template with C linkage 2369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2373:3: error: template with C linkage 2373 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2383:5: error: template with C linkage 2383 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2388:5: error: template with C linkage 2388 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2392:3: error: template with C linkage 2392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2402:5: error: template with C linkage 2402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2407:5: error: template with C linkage 2407 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2411:3: error: template with C linkage 2411 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2421:5: error: template with C linkage 2421 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2426:5: error: template with C linkage 2426 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2430:3: error: template with C linkage 2430 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2437:3: error: template with C linkage 2437 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2440:3: error: template with C linkage 2440 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2452:3: error: template with C linkage 2452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2455:3: error: template with C linkage 2455 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2471:3: error: template with C linkage 2471 | template> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2477:3: error: template with C linkage 2477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2483:3: error: template with C linkage 2483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2489:3: error: template with C linkage 2489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2495:3: error: template with C linkage 2495 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2504:5: error: template with C linkage 2504 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2509:5: error: template with C linkage 2509 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2513:3: error: template with C linkage 2513 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2521:3: error: template with C linkage 2521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2534:3: error: template with C linkage 2534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2541:3: error: template with C linkage 2541 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2549:3: error: template with C linkage 2549 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2553:3: error: template with C linkage 2553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2557:3: error: template with C linkage 2557 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2561:3: error: template with C linkage 2561 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2565:3: error: template with C linkage 2565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2569:3: error: template with C linkage 2569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2576:3: error: template with C linkage 2576 | template using void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2580:3: error: template with C linkage 2580 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2598:3: error: template with C linkage 2598 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2603:3: error: template with C linkage 2603 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2624:3: error: template with C linkage 2624 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2627:3: error: template with C linkage 2627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2630:3: error: template with C linkage 2630 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2633:3: error: template with C linkage 2633 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2637:3: error: template with C linkage 2637 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2642:3: error: template with C linkage 2642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2657:3: error: template with C linkage 2657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2669:7: error: template with C linkage 2669 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2679:7: error: template with C linkage 2679 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2684:7: error: template with C linkage 2684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2690:3: error: template with C linkage 2690 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2697:3: error: template with C linkage 2697 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2704:3: error: template with C linkage 2704 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2709:3: error: template with C linkage 2709 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2719:3: error: template with C linkage 2719 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2728:3: error: template with C linkage 2728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2738:3: error: template with C linkage 2738 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2743:3: error: template with C linkage 2743 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2753:7: error: template with C linkage 2753 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2765:7: error: template with C linkage 2765 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2772:7: error: template with C linkage 2772 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2778:3: error: template with C linkage 2778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2786:3: error: template with C linkage 2786 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2793:3: error: template with C linkage 2793 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2801:3: error: template with C linkage 2801 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2809:3: error: template with C linkage 2809 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2815:3: error: template with C linkage 2815 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2822:3: error: template with C linkage 2822 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2827:3: error: template with C linkage 2827 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2837:3: error: template with C linkage 2837 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2852:3: error: template with C linkage 2852 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2879:3: error: template with C linkage 2879 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2884:3: error: template with C linkage 2884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2892:3: error: template with C linkage 2892 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2899:3: error: template with C linkage 2899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2906:3: error: template with C linkage 2906 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2912:3: error: template with C linkage 2912 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2918:3: error: template with C linkage 2918 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2925:3: error: template with C linkage 2925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/query.cc:21: /usr/include/c++/10/type_traits:2930:3: error: template with C linkage 2930 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/query.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile.local:196: lib/query.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' make: Entering directory '/usr/src/RPM/BUILD/notmuch-0.28.4' c++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wwrite-strings -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -fvisibility-inlines-hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_VALGRIND=0 -DHAVE_GETLINE=1 -DWITH_EMACS=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_GMIME_SESSION_KEYS=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 lib/database.cc -o lib/database.o -MD -MP -MF .deps/lib/database.d In file included from /usr/include/xapian.h:44, from lib/database-private.h:39, from lib/database.cc:21: /usr/include/xapian/version.h:29:2: warning: #warning The C++ ABI version of compiler you are using does not exactly match [-Wcpp] 29 | #warning The C++ ABI version of compiler you are using does not exactly match | ^~~~~~~ /usr/include/xapian/version.h:30:2: warning: #warning that of the compiler used to build the library. If linking fails [-Wcpp] 30 | #warning that of the compiler used to build the library. If linking fails | ^~~~~~~ /usr/include/xapian/version.h:31:2: warning: #warning due to missing symbols, this is probably the reason why. [-Wcpp] 31 | #warning due to missing symbols, this is probably the reason why. | ^~~~~~~ /usr/include/xapian/version.h:32:2: warning: #warning The Xapian library was built with g++ 9.2.1 [-Wcpp] 32 | #warning The Xapian library was built with g++ 9.2.1 | ^~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:56:3: error: template with C linkage 56 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:71:3: error: template with C linkage 71 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:80:3: error: template with C linkage 80 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:91:3: error: template with C linkage 91 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:94:3: error: template with C linkage 94 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:98:3: error: template with C linkage 98 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:101:3: error: template with C linkage 101 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:104:3: error: template specialization with C linkage 104 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:109:3: error: template with C linkage 109 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:114:3: error: template with C linkage 114 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:119:3: error: template with C linkage 119 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:124:3: error: template with C linkage 124 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:127:3: error: template specialization with C linkage 127 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:132:3: error: template with C linkage 132 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:137:3: error: template with C linkage 137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:142:3: error: template with C linkage 142 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:147:3: error: template with C linkage 147 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:188:3: error: template with C linkage 188 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:190:3: error: template with C linkage 190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:192:3: error: template with C linkage 192 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:194:3: error: template with C linkage 194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:200:3: error: template with C linkage 200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:204:3: error: template with C linkage 204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:226:3: error: template with C linkage 226 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:230:3: error: template with C linkage 230 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:233:3: error: template with C linkage 233 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:238:3: error: template with C linkage 238 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:242:3: error: template specialization with C linkage 242 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:247:3: error: template with C linkage 247 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:252:3: error: template with C linkage 252 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:256:3: error: template specialization with C linkage 256 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:260:3: error: template specialization with C linkage 260 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:264:3: error: template specialization with C linkage 264 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:268:3: error: template specialization with C linkage 268 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:273:3: error: template specialization with C linkage 273 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:284:3: error: template specialization with C linkage 284 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:288:3: error: template specialization with C linkage 288 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:292:3: error: template specialization with C linkage 292 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:296:3: error: template specialization with C linkage 296 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:300:3: error: template specialization with C linkage 300 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:304:3: error: template specialization with C linkage 304 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:308:3: error: template specialization with C linkage 308 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:312:3: error: template specialization with C linkage 312 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:316:3: error: template specialization with C linkage 316 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:320:3: error: template specialization with C linkage 320 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:364:3: error: template with C linkage 364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:369:3: error: template with C linkage 369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:373:3: error: template specialization with C linkage 373 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:377:3: error: template specialization with C linkage 377 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:381:3: error: template specialization with C linkage 381 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:386:3: error: template specialization with C linkage 386 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:392:3: error: template with C linkage 392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:398:3: error: template with C linkage 398 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:402:3: error: template with C linkage 402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:406:3: error: template with C linkage 406 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:410:3: error: template with C linkage 410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:414:3: error: template with C linkage 414 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:419:3: error: template with C linkage 419 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:425:3: error: template with C linkage 425 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:429:3: error: template with C linkage 429 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:434:3: error: template with C linkage 434 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:438:3: error: template with C linkage 438 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:442:3: error: template with C linkage 442 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:446:3: error: template with C linkage 446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:451:3: error: template with C linkage 451 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:456:3: error: template with C linkage 456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:460:3: error: template with C linkage 460 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:465:3: error: template with C linkage 465 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:471:3: error: template with C linkage 471 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:477:3: error: template with C linkage 477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:483:3: error: template with C linkage 483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:489:3: error: template with C linkage 489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:493:3: error: template with C linkage 493 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:497:3: error: template with C linkage 497 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:503:3: error: template with C linkage 503 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:507:3: error: template specialization with C linkage 507 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:512:3: error: template with C linkage 512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:518:3: error: template with C linkage 518 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:526:3: error: template with C linkage 526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:533:3: error: template with C linkage 533 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:539:3: error: template with C linkage 539 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:546:3: error: template with C linkage 546 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:552:3: error: template with C linkage 552 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:556:3: error: template with C linkage 556 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:563:3: error: template with C linkage 563 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:567:3: error: template with C linkage 567 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:571:3: error: template with C linkage 571 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:576:3: error: template with C linkage 576 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:581:3: error: template with C linkage 581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:584:3: error: template with C linkage 584 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:588:3: error: template with C linkage 588 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:607:3: error: template with C linkage 607 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:626:3: error: template with C linkage 626 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:631:3: error: template with C linkage 631 | template using __void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:635:3: error: template with C linkage 635 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:640:3: error: template with C linkage 640 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:648:3: error: template with C linkage 648 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:652:3: error: template with C linkage 652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:657:3: error: template with C linkage 657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:661:3: error: template with C linkage 661 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:666:3: error: template with C linkage 666 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:675:3: error: template with C linkage 675 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:684:3: error: template with C linkage 684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:694:3: error: template with C linkage 694 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:705:3: error: template with C linkage 705 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:714:3: error: template with C linkage 714 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:720:3: error: template with C linkage 720 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:728:3: error: template with C linkage 728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:735:3: error: template with C linkage 735 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:740:3: error: template with C linkage 740 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:751:3: error: template with C linkage 751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:757:3: error: template with C linkage 757 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:770:3: error: template with C linkage 770 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:774:3: error: template with C linkage 774 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:778:3: error: template with C linkage 778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:781:3: error: template with C linkage 781 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:784:3: error: template with C linkage 784 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:787:3: error: template with C linkage 787 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:792:3: error: template with C linkage 792 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:804:5: error: template with C linkage 804 | template().~_Tp())> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:807:5: error: template with C linkage 807 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:811:3: error: template with C linkage 811 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:818:3: error: template with C linkage 818 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:831:3: error: template with C linkage 831 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:835:3: error: template with C linkage 835 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:840:3: error: template with C linkage 840 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:854:5: error: template with C linkage 854 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:858:5: error: template with C linkage 858 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:862:3: error: template with C linkage 862 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:869:3: error: template with C linkage 869 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:882:3: error: template with C linkage 882 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:886:3: error: template with C linkage 886 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:891:3: error: template with C linkage 891 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:899:3: error: template with C linkage 899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:905:3: error: template with C linkage 905 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:914:3: error: template with C linkage 914 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:922:3: error: template with C linkage 922 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:925:3: error: template with C linkage 925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:929:3: error: template with C linkage 929 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:935:3: error: template with C linkage 935 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:943:3: error: template with C linkage 943 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:946:3: error: template with C linkage 946 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:950:3: error: template with C linkage 950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:956:3: error: template with C linkage 956 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:964:3: error: template with C linkage 964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:969:3: error: template with C linkage 969 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:974:3: error: template with C linkage 974 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:979:3: error: template with C linkage 979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:984:3: error: template with C linkage 984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1001:3: error: template with C linkage 1001 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1007:3: error: template with C linkage 1007 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1025:3: error: template with C linkage 1025 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1028:3: error: template with C linkage 1028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1032:3: error: template with C linkage 1032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1038:3: error: template with C linkage 1038 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1046:3: error: template with C linkage 1046 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1049:3: error: template with C linkage 1049 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1053:3: error: template with C linkage 1053 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1076:3: error: template with C linkage 1076 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1079:3: error: template with C linkage 1079 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1083:3: error: template with C linkage 1083 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1089:3: error: template with C linkage 1089 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1097:3: error: template with C linkage 1097 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1100:3: error: template with C linkage 1100 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1104:3: error: template with C linkage 1104 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1110:3: error: template with C linkage 1110 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1118:3: error: template with C linkage 1118 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1123:3: error: template with C linkage 1123 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1130:3: error: template with C linkage 1130 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1138:3: error: template with C linkage 1138 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1141:3: error: template with C linkage 1141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1145:3: error: template with C linkage 1145 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1151:3: error: template with C linkage 1151 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1159:3: error: template with C linkage 1159 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1162:3: error: template with C linkage 1162 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1166:3: error: template with C linkage 1166 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1172:3: error: template with C linkage 1172 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1181:3: error: template with C linkage 1181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1190:3: error: template with C linkage 1190 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1200:5: error: template with C linkage 1200 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1203:5: error: template with C linkage 1203 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1222:3: error: template with C linkage 1222 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1228:3: error: template with C linkage 1228 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1235:3: error: template with C linkage 1235 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1243:3: error: template with C linkage 1243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1251:3: error: template with C linkage 1251 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1254:3: error: template with C linkage 1254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1258:3: error: template with C linkage 1258 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1266:3: error: template with C linkage 1266 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1275:3: error: template with C linkage 1275 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1283:3: error: template with C linkage 1283 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1286:3: error: template with C linkage 1286 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1290:3: error: template with C linkage 1290 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1296:3: error: template with C linkage 1296 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1304:3: error: template with C linkage 1304 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1307:3: error: template with C linkage 1307 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1311:3: error: template with C linkage 1311 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1317:3: error: template with C linkage 1317 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1326:3: error: template with C linkage 1326 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1337:3: error: template with C linkage 1337 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1349:3: error: template with C linkage 1349 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1358:3: error: template with C linkage 1358 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1362:3: error: template with C linkage 1362 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1366:3: error: template with C linkage 1366 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1371:3: error: template with C linkage 1371 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1375:3: error: template with C linkage 1375 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1382:3: error: template with C linkage 1382 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1393:3: error: template with C linkage 1393 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1410:3: error: template with C linkage 1410 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1415:3: error: template with C linkage 1415 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1446:3: error: template with C linkage 1446 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1452:3: error: template with C linkage 1452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1456:3: error: template with C linkage 1456 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1486:3: error: template with C linkage 1486 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1508:3: error: template with C linkage 1508 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1512:3: error: template with C linkage 1512 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1517:3: error: template with C linkage 1517 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1521:3: error: template with C linkage 1521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1526:3: error: template with C linkage 1526 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1530:3: error: template with C linkage 1530 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1534:3: error: template with C linkage 1534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1538:3: error: template with C linkage 1538 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1543:3: error: template with C linkage 1543 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1548:3: error: template with C linkage 1548 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1553:3: error: template with C linkage 1553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1565:3: error: template with C linkage 1565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1569:3: error: template with C linkage 1569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1573:3: error: template with C linkage 1573 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1581:3: error: template with C linkage 1581 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1592:3: error: template with C linkage 1592 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1596:3: error: template with C linkage 1596 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1600:3: error: template with C linkage 1600 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1604:3: error: template with C linkage 1604 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1608:3: error: template with C linkage 1608 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1613:3: error: template with C linkage 1613 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1618:3: error: template with C linkage 1618 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1622:3: error: template with C linkage 1622 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1627:3: error: template with C linkage 1627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1634:3: error: template with C linkage 1634 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1638:3: error: template with C linkage 1638 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1642:3: error: template with C linkage 1642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1649:3: error: template with C linkage 1649 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1652:3: error: template with C linkage 1652 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1656:3: error: template with C linkage 1656 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1660:3: error: template with C linkage 1660 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1664:3: error: template with C linkage 1664 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1668:3: error: template with C linkage 1668 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1684:3: error: template specialization with C linkage 1684 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1688:3: error: template specialization with C linkage 1688 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1692:3: error: template specialization with C linkage 1692 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1696:3: error: template specialization with C linkage 1696 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1700:3: error: template specialization with C linkage 1700 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1704:3: error: template specialization with C linkage 1704 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1730:3: error: template with C linkage 1730 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1749:5: error: template with C linkage 1749 | template struct _List { }; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1751:5: error: template with C linkage 1751 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1755:5: error: template with C linkage 1755 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1758:5: error: template with C linkage 1758 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1762:5: error: template with C linkage 1762 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1769:3: error: template with C linkage 1769 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1789:3: error: template specialization with C linkage 1789 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1806:3: error: template specialization with C linkage 1806 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1813:3: error: template specialization with C linkage 1813 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1824:3: error: template with C linkage 1824 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1829:3: error: template specialization with C linkage 1829 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1834:3: error: template with C linkage 1834 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1838:3: error: template specialization with C linkage 1838 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1842:3: error: template specialization with C linkage 1842 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1846:3: error: template specialization with C linkage 1846 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1850:3: error: template specialization with C linkage 1850 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1854:3: error: template specialization with C linkage 1854 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1858:3: error: template specialization with C linkage 1858 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1884:3: error: template with C linkage 1884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1901:3: error: template with C linkage 1901 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1915:3: error: template specialization with C linkage 1915 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1932:3: error: template specialization with C linkage 1932 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1939:3: error: template specialization with C linkage 1939 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1950:3: error: template with C linkage 1950 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1955:3: error: template specialization with C linkage 1955 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1960:3: error: template with C linkage 1960 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1971:3: error: template with C linkage 1971 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1975:3: error: template with C linkage 1975 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1979:3: error: template with C linkage 1979 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1984:3: error: template with C linkage 1984 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1988:3: error: template with C linkage 1988 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1992:3: error: template with C linkage 1992 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:1998:3: error: template with C linkage 1998 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2002:3: error: template with C linkage 2002 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2008:3: error: template with C linkage 2008 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2012:3: error: template with C linkage 2012 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2017:3: error: template with C linkage 2017 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2023:3: error: template with C linkage 2023 | template, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2028:3: error: template with C linkage 2028 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2032:3: error: template with C linkage 2032 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2039:3: error: template with C linkage 2039 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2043:3: error: template with C linkage 2043 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2047:3: error: template with C linkage 2047 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2085:3: error: template with C linkage 2085 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2122:3: error: template with C linkage 2122 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2127:3: error: template with C linkage 2127 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2137:3: error: template with C linkage 2137 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2141:3: error: template with C linkage 2141 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2146:3: error: template with C linkage 2146 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2156:3: error: template with C linkage 2156 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2163:3: error: template with C linkage 2163 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2169:3: error: template with C linkage 2169 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2175:3: error: template with C linkage 2175 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2181:3: error: template with C linkage 2181 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2186:3: error: template with C linkage 2186 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2191:3: error: template with C linkage 2191 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2194:3: error: template with C linkage 2194 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2199:3: error: template with C linkage 2199 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2204:3: error: template with C linkage 2204 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2209:3: error: template with C linkage 2209 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2214:3: error: template with C linkage 2214 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2221:5: error: template with C linkage 2221 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2227:5: error: template with C linkage 2227 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2239:5: error: template with C linkage 2239 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2243:5: error: template with C linkage 2243 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2249:3: error: template specialization with C linkage 2249 | template<> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2254:3: error: template with C linkage 2254 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2260:3: error: template with C linkage 2260 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2279:3: error: template with C linkage 2279 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2284:3: error: template with C linkage 2284 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2288:3: error: template with C linkage 2288 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2292:3: error: template with C linkage 2292 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2308:3: error: template with C linkage 2308 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2312:3: error: template with C linkage 2312 | template::value> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2318:3: error: template with C linkage 2318 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2323:3: error: template with C linkage 2323 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2328:3: error: template with C linkage 2328 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2334:3: error: template with C linkage 2334 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2343:3: error: template with C linkage 2343 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2357:3: error: template with C linkage 2357 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2364:5: error: template with C linkage 2364 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2369:5: error: template with C linkage 2369 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2373:3: error: template with C linkage 2373 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2383:5: error: template with C linkage 2383 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2388:5: error: template with C linkage 2388 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2392:3: error: template with C linkage 2392 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2402:5: error: template with C linkage 2402 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2407:5: error: template with C linkage 2407 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2411:3: error: template with C linkage 2411 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2421:5: error: template with C linkage 2421 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2426:5: error: template with C linkage 2426 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2430:3: error: template with C linkage 2430 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2437:3: error: template with C linkage 2437 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2440:3: error: template with C linkage 2440 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2452:3: error: template with C linkage 2452 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2455:3: error: template with C linkage 2455 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2471:3: error: template with C linkage 2471 | template> | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2477:3: error: template with C linkage 2477 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2483:3: error: template with C linkage 2483 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2489:3: error: template with C linkage 2489 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2495:3: error: template with C linkage 2495 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2504:5: error: template with C linkage 2504 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2509:5: error: template with C linkage 2509 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2513:3: error: template with C linkage 2513 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2521:3: error: template with C linkage 2521 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2534:3: error: template with C linkage 2534 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2541:3: error: template with C linkage 2541 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2549:3: error: template with C linkage 2549 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2553:3: error: template with C linkage 2553 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2557:3: error: template with C linkage 2557 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2561:3: error: template with C linkage 2561 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2565:3: error: template with C linkage 2565 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2569:3: error: template with C linkage 2569 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2576:3: error: template with C linkage 2576 | template using void_t = void; | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2580:3: error: template with C linkage 2580 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2598:3: error: template with C linkage 2598 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2603:3: error: template with C linkage 2603 | template class _Op, | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2624:3: error: template with C linkage 2624 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2627:3: error: template with C linkage 2627 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2630:3: error: template with C linkage 2630 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2633:3: error: template with C linkage 2633 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2637:3: error: template with C linkage 2637 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2642:3: error: template with C linkage 2642 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2657:3: error: template with C linkage 2657 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2669:7: error: template with C linkage 2669 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2679:7: error: template with C linkage 2679 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2684:7: error: template with C linkage 2684 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2690:3: error: template with C linkage 2690 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2697:3: error: template with C linkage 2697 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2704:3: error: template with C linkage 2704 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2709:3: error: template with C linkage 2709 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2719:3: error: template with C linkage 2719 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2728:3: error: template with C linkage 2728 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2738:3: error: template with C linkage 2738 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2743:3: error: template with C linkage 2743 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2753:7: error: template with C linkage 2753 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2765:7: error: template with C linkage 2765 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2772:7: error: template with C linkage 2772 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2778:3: error: template with C linkage 2778 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2786:3: error: template with C linkage 2786 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2793:3: error: template with C linkage 2793 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2801:3: error: template with C linkage 2801 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2809:3: error: template with C linkage 2809 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2815:3: error: template with C linkage 2815 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2822:3: error: template with C linkage 2822 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2827:3: error: template with C linkage 2827 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2837:3: error: template with C linkage 2837 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2852:3: error: template with C linkage 2852 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2879:3: error: template with C linkage 2879 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2884:3: error: template with C linkage 2884 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2892:3: error: template with C linkage 2892 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2899:3: error: template with C linkage 2899 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2906:3: error: template with C linkage 2906 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2912:3: error: template with C linkage 2912 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2918:3: error: template with C linkage 2918 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2925:3: error: template with C linkage 2925 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gmime-2.6/gmime/gmime.h:25, from ./util/gmime-extra.h:3, from lib/notmuch-private.h:50, from lib/database-private.h:33, from lib/database.cc:21: /usr/include/c++/10/type_traits:2930:3: error: template with C linkage 2930 | template | ^~~~~~~~ In file included from lib/notmuch-private.h:32, from lib/database-private.h:33, from lib/database.cc:21: lib/notmuch.h:35:31: note: 'extern "C"' linkage started here 35 | # define NOTMUCH_BEGIN_DECLS extern "C" { | ^~~~~~~~~~ lib/notmuch-private.h:34:1: note: in expansion of macro 'NOTMUCH_BEGIN_DECLS' 34 | NOTMUCH_BEGIN_DECLS | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile.local:196: lib/database.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/notmuch-0.28.4' error: Bad exit status from /usr/src/tmp/rpm-tmp.44032 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.44032 (%build) Command exited with non-zero status 1 17.97user 2.04system 0:15.53elapsed 128%CPU (0avgtext+0avgdata 77188maxresident)k 0inputs+0outputs (0major+737560minor)pagefaults 0swaps hsh-rebuild: rebuild of `notmuch-0.28.4-alt1.src.rpm' failed. Command exited with non-zero status 1 30.55user 4.87system 0:43.68elapsed 81%CPU (0avgtext+0avgdata 107092maxresident)k 752inputs+0outputs (0major+1080299minor)pagefaults 0swaps