regression on -current with pan
by nobodino from LinuxQuestions.org on (#5G5KF)
pan doesn't nuild anymore on -current, here are the errors below:
-----------------------------
/usr/include/c++/10.2.0/type_traits:2925:3: error: template with C linkage
2925 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
file-util.cc:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from file-util.cc:30:
/usr/include/c++/10.2.0/type_traits:2930:3: error: template with C linkage
2930 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
file-util.cc:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
make[3]: *** [Makefile:457: file-util.o] Error 1
make[3]: Leaving directory '/tmp/pan-0.146/pan/general'
make[2]: *** [Makefile:391: all-recursive] Error 1
make[2]: Leaving directory '/tmp/pan-0.146/pan'
make[1]: *** [Makefile:592: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pan-0.146'
make: *** [Makefile:446: all] Error 2
-------------------------------------
seems to be related to glib2-2.68.0 as for qt5-webkit?


-----------------------------
/usr/include/c++/10.2.0/type_traits:2925:3: error: template with C linkage
2925 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
file-util.cc:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from file-util.cc:30:
/usr/include/c++/10.2.0/type_traits:2930:3: error: template with C linkage
2930 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
file-util.cc:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
make[3]: *** [Makefile:457: file-util.o] Error 1
make[3]: Leaving directory '/tmp/pan-0.146/pan/general'
make[2]: *** [Makefile:391: all-recursive] Error 1
make[2]: Leaving directory '/tmp/pan-0.146/pan'
make[1]: *** [Makefile:592: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pan-0.146'
make: *** [Makefile:446: all] Error 2
-------------------------------------
seems to be related to glib2-2.68.0 as for qt5-webkit?