Boost logo

Boost :

Subject: Re: [boost] [config] gcc-4.8 and __GXX_EXPERIMENTAL_CXX0X__
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-04-01 12:34:06


Le 01/04/13 17:12, Jonathan Wakely a écrit :
> On 1 April 2013 15:58, Vicente J. Botet Escriba wrote:
>> Le 01/04/13 16:35, Jonathan Wakely a écrit :
>>
>>> On 1 April 2013 15:17, Vicente J. Botet Escriba wrote:
>>>> Hi,
>>>>
>>>> it seems that gcc-4.8 doesn't defines any more __GXX_EXPERIMENTAL_CXX0X__
>>>> when the flag -std=c++11 is given.
>>> Are you sure?
>> Maybe my installation is not correct, but with it __GXX_EXPERIMENTAL_CXX0X__
>> is not defined. Could some check it?
> I see it still defined with GCC 4.8 or 4.9
>
Forget this post. I was calling to bjam as follows

bjam toolset=gcc-4.8x

but in my user-config file I configured

using darwin : 4.8.0x : /usr/gcc-4.8/bin/g++-4.8 : <lnkflags>-lssp
<cxxflags>-fstack-protector-all <cxxflags>-std="c++11" ;

Unfortunately bjam toke the default gcc which doesn't runs in c++11 mode
without any explicit ERROR :(

using darwin ;

Best,
Vicente


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