
Michel MORIN wrote:
Vicente J. Botet Escriba wrote:
Which is the default library when buildding with Boost.Build (bjam) and clang 2.9 c++0x?
I think it depends on how clang is built and Boost.Build is not relevant here.
In my setting, clang uses libstdc++ of gcc-4.2 which does not support C++0x. IIRC, clang does not support newer versions of libstdc++. So, to use the C++0x's standard library, you need libc++ (http://libcxx.llvm.org/). Clang uses libc++ if you pass "-stdlib=libc++" to the compiler.
FYI, the code (with modification of `boost::is_enum` to `std::is_enum`) compiles fine with clang and libc++.
Hi, thanks for the information. I will add whatever is needed for the library selection when compiling in C++0x mode and see how boost::is_enum behaves to try to understand why boost::is_enum is not working, as is not using the std::is_enum, but IIRC an intrinsic. Thanks again, Vicente -- View this message in context: http://boost.2283326.n4.nabble.com/type-traits-is-enum-on-scoped-enums-doesn... Sent from the Boost - Dev mailing list archive at Nabble.com.