#45307: clang-3.4 not picking up C++11 headers on 10.6.8 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: duplicate | Keywords: Port: clang-3.4 | --------------------------+-------------------------------- Comment (by jeremyhu@…):
10.6.8 doesn't have libc++
That's why you need to install it via the libcxx port.
(and gcc-mp-4.8 does fine without it).
That's because gcc-mp-4.8 is using libstdcxx or libstdcxx-devel depending on which port you installed. There is no underlying issue. You need to use libc++ for C++11 with clang. There is no intention of supporting libstdc++ for C++11 in clang. -- Ticket URL: <https://trac.macports.org/ticket/45307#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X