|
Boost : |
Subject: Re: [boost] [config] compiler/gcc.hpp version 4.5 to update
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-11-13 11:31:37
----- Original Message -----
From: "Richard Webb" <richard.webb_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, November 13, 2010 4:08 PM
Subject: Re: [boost] [config] compiler/gcc.hpp version 4.5 to update
> vicente.botet <vicente.botet <at> wanadoo.fr> writes:
>
>>
>>
>> unfortunately I don't reach to get the config_info for my installed gcc-4.4.
>
>
> I think some versions of Mingw have had bugs in the headers that prevent them
> from compiling in pure C++0x mode (due to missing ifdefs and such).
>
> You could try using -std=gnu++0x instead of -std=c++0x.
Thanks. This works.
John, the differences between 4.5 an 4.4 seems to be all already in place.
BOOST_NO_EXPLICIT_CONVERSION_OPERATORS [no value]
BOOST_NO_LAMBDAS [no value]
BOOST_NO_NUMERIC_LIMITS_LOWEST [no value]
BOOST_NO_RAW_LITERALS [no value]
BOOST_NO_SCOPED_ENUMS [no value]
BOOST_NO_UNICODE_LITERALS [no value]
I have made the test for gcc4.6 for BOOST_NO_CONSTEXPR and BOOT_NO_NULLPTR that seems to work.
I have attached the patch in case you want to update the gcc.hpp file for gcc-4.6.
I don't know if someone is interested in macros for these features.
* Universal character name literals N2170 GCC 4.5
* No Standard Layout Types N2342 GCC 4.5
* Local and unnamed types as template arguments N2657 GCC 4.5
Thanks for all,
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk