[MacPorts] #41033: cctype functions (e.g. isprint) not defined at link time when using g++ -std=c++11

MacPorts noreply at macports.org
Thu Nov 21 15:04:28 PST 2013


#41033: cctype functions (e.g. isprint) not defined at link time when using g++
-std=c++11
--------------------------+------------------------
  Reporter:  schnetter@…  |      Owner:  jeremyhu@…
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:               |   Keywords:
      Port:  gcc48        |
--------------------------+------------------------

Comment (by ghleclerc@…):

 I don't know if it's relevant, but I'll had my experience.  I have run
 into the same problem trying to compile ITK (Insight Toolkit) on OSX 10.9
 Maverick using the Macports installed gcc 4.8 and the -std=c++11 option.
 Copying the system cdefs.h file and applying the fix suggested by the
 original poster of this report worked and allowed compilation to finish.

 I installed my gcc version last night (2013-11-20) on a clean system
 install (wiped my Mountain Lion and reinstalled Maverick) with up-to-date
 port definitions.

 In short, on 2013-11-21, the problem seems to still be there and the
 original suggested fix worked for me.

-- 
Ticket URL: <https://trac.macports.org/ticket/41033#comment:14>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list