[MacPorts] #45307: clang-3.4 not picking up C++11 headers on 10.6.8

MacPorts noreply at macports.org
Thu Oct 9 02:28:48 PDT 2014


#45307: clang-3.4 not picking up C++11 headers on 10.6.8
-------------------------+--------------------------------
 Reporter:  rjvbertin@…  |      Owner:  macports-tickets@…
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  clang-3.4
-------------------------+--------------------------------
 Is this a known issue? When building the QtCurve 1.8.18 port,
 `clang++-mp-3.4 -std=c++11` will pick up a version of #include <utility>
 that apparently does not define std::forward ... There *is* a utility
 header in llvm-3.4's install tree (in a "v1" subdirectory), but it's not
 being found.

 In other words, macports-clang-3.4 cannot be used to build C++11 projects
 on OS X 10.6.8, not even with -std=c++0x. Apple's version, basically the
 same compiler, works fine for those projects on 10.9 .

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


More information about the macports-tickets mailing list