Opened 12 years ago

Last modified 10 years ago

#34288 closed defect

clang3.1 cannot compile boost code (or c++11 based code) — at Initial Version

Reported by: christophe.prudhomme@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: clang-2.9 clang-3.0 clang-3.1 clang-3.2 libstdc++ libc++

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.