Update gcc-4.6.0 config and tests to match.

[SVN r70754]
This commit is contained in:
John Maddock
2011-03-30 18:24:18 +00:00
parent 7448397653
commit 2dfa0e4dd2
2 changed files with 6 additions and 2 deletions

View File

@ -139,11 +139,15 @@
# define BOOST_NO_0X_HDR_RANDOM
#endif
// C++0x features in GCC 4.5.0 and later
//
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
# define BOOST_NO_0X_HDR_TYPEINDEX
#endif
// C++0x headers not yet (fully!) implemented
//
# define BOOST_NO_0X_HDR_THREAD
# define BOOST_NO_0X_HDR_TYPE_TRAITS
# define BOOST_NO_0X_HDR_CODECVT
# define BOOST_NO_0X_HDR_TYPEINDEX
// --- end ---

View File

@ -32,7 +32,7 @@ template<int> struct X { };
constexpr A a = 42;
X<a> x; // OK: unique conversion to int
X<a> xx; // OK: unique conversion to int
int test()
{