[MacPorts] #34288: clang3.1 cannot compile boost code (or c++11 based code)
MacPorts
noreply at macports.org
Tue May 1 06:54:13 PDT 2012
#34288: clang3.1 cannot compile boost code (or c++11 based code)
--------------------------------------------------+-------------------------
Reporter: christophe.prudhomme@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: clang3.1
--------------------------------------------------+-------------------------
clang3.1 seems to be compiled with c++03 support and not c++11 support
it does not compile boost based code
e.g try to compile the following one line code :
#include <boost/signals2.hpp>
and it fails.
it seems that clang 3.1 is actually using an old (from apple) libstdc++
(4.2) library which is c++03 and not the latest one eg from gcc 4.6 or gcc
4.7.
--
Ticket URL: <https://trac.macports.org/ticket/34288>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list