#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 rjvbertin@…): Replying to [comment:2 jmr@…]:
You need -stdlib=libc++ to use C++11.
On 10.8 or 10.9 and higher, yes. 10.6.8 doesn't have libc++ (and gcc- mp-4.8 does fine without it). Besides, the issue at hand is a compilation issue, not a linker issue (which could have been addressed with -stdlib=libc++). -- Ticket URL: <https://trac.macports.org/ticket/45307#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X