#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@…): Replying to [comment:7 rjvbertin@…]:
I recall why I don't have libcxx installed: it has a build depency on clang-3.3 ..
Will installing port:libcxx and port:libcxxabi (mostly containing libraries) address the issue of clang-3.4 not finding the correct headerfiles?
Yes, assuming you use -stdlib=libc++ as well
There is no intention of supporting libstdc++ for C++11 in clang.
I'm a bit at a loss here. That support is there on Linux, and should be platform-agnostic, no?
The clang compilers will only use the C++ runtimes in /usr/lib. There is no intention of supporting other C++ runtimes due to the huge can of worms that opens up. Going forward, MacPorts should only support libc++ on new platforms, and we have a way for users on SnowLeopard through Mountain Lion to also use libc++. -- Ticket URL: <https://trac.macports.org/ticket/45307#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X