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

MacPorts noreply at macports.org
Thu Oct 9 04:21:42 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:
Resolution:               |   Keywords:
      Port:  clang-3.4    |
--------------------------+--------------------------------

Comment (by jmr@…):

 There’s your problem:
 {{{
 CXXFLAGS='-Os -arch x86_64 -stdlib=libstdc++’
 }}}
 You need -stdlib=libc++ to use C++11.

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


More information about the macports-tickets mailing list