
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.
Fixed in Trunk.
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
Generally we only add detection macros when someone actually needs them, basically we don't actually go looking for work ;-) Thanks for checking this, John.