In file included from /tmp/portage/app-emulation/qt-virt-manager-0.72.97/work/qt-virt-manager-0.72.97/src/vm_viewer/qspice_widgets/qspice-smartcard-channel.cpp:2:
/tmp/portage/app-emulation/qt-virt-manager-0.72.97/work/qt-virt-manager-0.72.97/src/vm_viewer/qspice_widgets/qspice-helper.h:26:1: note: ‘extern "C"’ linkage started here
26 | 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 /usr/include/spice-client-glib-2.0/spice-client.h:21,
from /tmp/portage/app-emulation/qt-virt-manager-0.72.97/work/qt-virt-manager-0.72.97/src/vm_viewer/qspice_widgets/qspice-helper.h:27,
from /tmp/portage/app-emulation/qt-virt-manager-0.72.97/work/qt-virt-manager-0.72.97/src/vm_viewer/qspice_widgets/qspice-smartcard-channel.cpp:2:
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/type_traits:2895:3: error: template with C linkage
2895 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
In file included from /tmp/portage/app-emulation/qt-virt-manager-0.72.97/work/qt-virt-manager-0.72.97/src/vm_viewer/qspice_widgets/qspice-smartcard-channel.cpp:2:
/tmp/portage/app-emulation/qt-virt-manager-0.72.97/work/qt-virt-manager-0.72.97/src/vm_viewer/qspice_widgets/qspice-helper.h:26:1: note: ‘extern "C"’ linkage started here
26 | 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 /usr/include/spice-client-glib-2.0/spice-client.h:21,
from /tmp/portage/app-emulation/qt-virt-manager-0.72.97/work/qt-virt-manager-0.72.97/src/vm_viewer/qspice_widgets/qspice-helper.h:27,
from /tmp/portage/app-emulation/qt-virt-manager-0.72.97/work/qt-virt-manager-0.72.97/src/vm_viewer/qspice_widgets/qspice-smartcard-channel.cpp:2:
[build.log](https://github.com/F1ash/qt-virt-manager/files/6499086/build.log)
2900 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
In file included from /tmp/portage/app-emulation/qt-virt-manager-0.72.97/work/qt-virt-manager-0.72.97/src/vm_viewer/qspice_widgets/qspice-smartcard-channel.cpp:2:
/tmp/portage/app-emulation/qt-virt-manager-0.72.97/work/qt-virt-manager-0.72.97/src/vm_viewer/qspice_widgets/qspice-helper.h:26:1: note: ‘extern "C"’ linkage started here
26 | extern "C" {
| ^~~~~~~~~~
ninja: subcommands failed
Gentoo, Qt-5.15.3, GCC-11.1