Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78217 - trunk/boost/config/stdlib
From: john_at_[hidden]
Date: 2012-04-27 07:32:41


Author: johnmaddock
Date: 2012-04-27 07:32:39 EDT (Fri, 27 Apr 2012)
New Revision: 78217
URL: http://svn.boost.org/trac/boost/changeset/78217

Log:
Fix some C++11 config options.
Text files modified:
   trunk/boost/config/stdlib/libcpp.hpp | 1 +
   trunk/boost/config/stdlib/libstdcpp3.hpp | 4 +++-
   2 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/config/stdlib/libcpp.hpp
==============================================================================
--- trunk/boost/config/stdlib/libcpp.hpp (original)
+++ trunk/boost/config/stdlib/libcpp.hpp 2012-04-27 07:32:39 EDT (Fri, 27 Apr 2012)
@@ -29,6 +29,7 @@
 # define BOOST_NO_CXX11_HDR_CHRONO
 # define BOOST_NO_CXX11_HDR_FUTURE
 # define BOOST_NO_CXX11_HDR_TYPE_TRAITS
+# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
 
 // libc++ uses a non-standard messages_base
 #define BOOST_NO_STD_MESSAGES

Modified: trunk/boost/config/stdlib/libstdcpp3.hpp
==============================================================================
--- trunk/boost/config/stdlib/libstdcpp3.hpp (original)
+++ trunk/boost/config/stdlib/libstdcpp3.hpp 2012-04-27 07:32:39 EDT (Fri, 27 Apr 2012)
@@ -118,7 +118,6 @@
 // C++0x headers in GCC 4.4.0 and later
 //
 #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
-# define BOOST_NO_CXX11_HDR_CHRONO
 # define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
 # define BOOST_NO_CXX11_HDR_FORWARD_LIST
 # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
@@ -152,6 +151,9 @@
 // C++0x features in GCC 4.7.0 and later
 //
 #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
+// Note that although <chrono> existed prior to 4.7, "stead_clock" is spelled "monotonic_clock"
+// so 4.7.0 is the first truely conforming one.
+# define BOOST_NO_CXX11_HDR_CHRONO
 # define BOOST_NO_CXX11_ALLOCATOR
 #endif
 // C++0x headers not yet (fully!) implemented


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