[MacPorts] #69964: gconfmm fails to build: error: template with C linkage
MacPorts
noreply at macports.org
Sun May 12 06:43:57 UTC 2024
#69964: gconfmm fails to build: error: template with C linkage
--------------------------+---------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: gconfmm
--------------------------+---------------------
{{{
In file included from /opt/local/include/glib-2.0/glib/glib-typeof.h:43,
from /opt/local/include/glib-2.0/glib/gatomic.h:30,
from /opt/local/include/glib-2.0/glib/gthread.h:34,
from /opt/local/include/glib-2.0/glib/gasyncqueue.h:34,
from /opt/local/include/glib-2.0/glib.h:34,
from /opt/local/include/glib-2.0/gobject/gbinding.h:30,
from /opt/local/include/glib-2.0/glib-object.h:24,
from /opt/local/include/gconf/2/gconf/gconf-client.h:24,
from ../gconfmm/callback.h:27,
from callback.cc:22:
/opt/local/include/gcc13/c++/type_traits:44:3: error: template with C
linkage
44 | template<typename _Tp>
| ^~~~~~~~
../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
/opt/local/include/gcc13/c++/type_traits:61:3: error: template with C
linkage
61 | template<typename _Tp, _Tp __v>
| ^~~~~~~~
../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
/opt/local/include/gcc13/c++/type_traits:89:3: error: template with C
linkage
89 | template<bool __v>
| ^~~~~~~~
../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
/opt/local/include/gcc13/c++/type_traits:97:3: error: template with C
linkage
97 | template<bool __v>
| ^~~~~~~~
../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
/opt/local/include/gcc13/c++/type_traits:105:3: error: template with C
linkage
105 | template<bool, typename _Tp = void>
| ^~~~~~~~
../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
/opt/local/include/gcc13/c++/type_traits:110:3: error: template with C
linkage
110 | template<typename _Tp>
| ^~~~~~~~
../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
/opt/local/include/gcc13/c++/type_traits:115:3: error: template with C
linkage
115 | template<bool _Cond, typename _Tp = void>
| ^~~~~~~~
../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
/opt/local/include/gcc13/c++/type_traits:118:3: error: template with C
linkage
118 | template<bool>
| ^~~~~~~~
. . .
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69964>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list