Boost logo

Boost :

Subject: Re: [boost] [test] showtopper for release 1.49 - std::forward not found when compiling with clang 3.0 c++0x mode.
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-01-03 06:10:26


Vicente Botet wrote:
> I don't know if we need to support this combination,but do you know why the
> compiler is using the c++03 library when compiling on C++11 mode?

It depends on build settings. I guess, in your build setting,
clang uses libstdc++-4.2 (which does not support C++11).
If you want to use a C++11 standard library with your clang and
you have libc++, you can use libc++ by passing "-stdlib=libc++" to clang.

Regards,
Michel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk