Opened 12 years ago

Last modified 10 years ago

#34288 closed defect

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

Reported by: christophe.prudhomme@… Owned by: jeremyhu@…
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 (last modified by ryandesign (Ryan Carsten Schmidt))

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 (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Note: See TracTickets for help on using tickets.