Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70754 - in trunk: boost/config/stdlib libs/config/test
From: john_at_[hidden]
Date: 2011-03-30 14:24:19


Author: johnmaddock
Date: 2011-03-30 14:24:18 EDT (Wed, 30 Mar 2011)
New Revision: 70754
URL: http://svn.boost.org/trac/boost/changeset/70754

Log:
Update gcc-4.6.0 config and tests to match.
Text files modified:
   trunk/boost/config/stdlib/libstdcpp3.hpp | 6 +++++-
   trunk/libs/config/test/boost_no_constexpr.ipp | 2 +-
   2 files changed, 6 insertions(+), 2 deletions(-)

Modified: trunk/boost/config/stdlib/libstdcpp3.hpp
==============================================================================
--- trunk/boost/config/stdlib/libstdcpp3.hpp (original)
+++ trunk/boost/config/stdlib/libstdcpp3.hpp 2011-03-30 14:24:18 EDT (Wed, 30 Mar 2011)
@@ -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 ---

Modified: trunk/libs/config/test/boost_no_constexpr.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_constexpr.ipp (original)
+++ trunk/libs/config/test/boost_no_constexpr.ipp 2011-03-30 14:24:18 EDT (Wed, 30 Mar 2011)
@@ -32,7 +32,7 @@
 
 constexpr A a = 42;
 
-X<a> x; // OK: unique conversion to int
+X<a> xx; // OK: unique conversion to int
 
 int test()
 {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk