Boost logo

Boost :

Subject: Re: [boost] How to build Boost with C++0x compilers
From: Bo Persson (bop_at_[hidden])
Date: 2010-05-24 12:25:12


vicente.botet wrote:
> ----- Original Message -----
> From: "Beman Dawes" <bdawes_at_[hidden]>
> To: "boost" <boost_at_[hidden]>
> Sent: Saturday, May 22, 2010 6:33 PM
> Subject: Re: [boost] How to build Boost with C++0x compilers
>
>
>
> On Sat, May 22, 2010 at 9:41 AM, vicente.botet
> <vicente.botet_at_[hidden]> wrote:
>
>> Oh yes, using cxxflags. I was locking for a specific Build feature
>> such as c++0x=on common to all the compilers.
>
> It isn't clear to me yet that such a build feature is needed. VC++
> isn't requiring any switches for their C++0x stuff. What are other
> compiler vendors doing?
>
> --Beman
> _______________________________________________
> Do you mean that when we compile with VC++ (version ??) we will
> implicitly have support for C++0x and that some of the the BOOST 0x
> related macros will be undefined?

This affects VC10 mainly. It has the features it has, and no way of
turning them on or off.

I guess this means that macros BOOST_NO_xxx will not be defined.

>
> This means that we can not add in our library C++0x dependent code
> that is activated with a explicit switch. I would prefer that this
> is actived explicitly, at least for the moment.
>

Wouldn't that be a library specific switch 'don't use even if
available'? If the feature is available, and working properly, why not
use it?

Bo Persson


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