[MacPorts] #41528: texlive-bin @2013: error: template with C linkage
MacPorts
noreply at macports.org
Mon Nov 25 23:21:26 PST 2013
#41528: texlive-bin @2013: error: template with C linkage
---------------------------+----------------------
Reporter: ryandesign@… | Owner: dports@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords: tiger
Port: texlive-bin |
---------------------------+----------------------
Comment (by ryandesign@…):
I have found [http://www.gidforums.com/t-9853.html this explanation] of
the "template with C linkage" error, calling it a "dangling `extern "C"`"
problem.
I notice that `-isystem` is in the compile line so now I'm wondering if
this is the problem mentioned [comment:ticket:40656:2 here], where Tiger's
`g++` automatically inserts `extern "C"` around headers included with
`-isystem`, a problem which was fixed in Leopard. If so, blacklisting
Tiger's `g++` and instead using MacPorts' apple-gcc42 might fix it. I can
try this later when I'm back at my Tiger machine. Note that I'm not using
the patch from that ticket on this machine; this is a change made
specifically in the texlive-bin port in r83018.
--
Ticket URL: <https://trac.macports.org/ticket/41528#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list