|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70055 - trunk/boost/config/stdlib
From: john_at_[hidden]
Date: 2011-03-17 07:43:27
Author: johnmaddock
Date: 2011-03-17 07:43:20 EDT (Thu, 17 Mar 2011)
New Revision: 70055
URL: http://svn.boost.org/trac/boost/changeset/70055
Log:
Tweak libstdc++ and libc++ config's to cope with the new tests.
Text files modified:
trunk/boost/config/stdlib/libcpp.hpp | 6 ++++++
trunk/boost/config/stdlib/libstdcpp3.hpp | 5 +++++
2 files changed, 11 insertions(+), 0 deletions(-)
Modified: trunk/boost/config/stdlib/libcpp.hpp
==============================================================================
--- trunk/boost/config/stdlib/libcpp.hpp (original)
+++ trunk/boost/config/stdlib/libcpp.hpp 2011-03-17 07:43:20 EDT (Thu, 17 Mar 2011)
@@ -23,6 +23,12 @@
# define BOOST_NO_0X_HDR_TUPLE
#endif
+//
+// These appear to be unusable/incomplete so far:
+//
+# define BOOST_NO_0X_HDR_CHRONO
+# define BOOST_NO_0X_HDR_TYPE_TRAITS
+
// 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 2011-03-17 07:43:20 EDT (Thu, 17 Mar 2011)
@@ -126,6 +126,11 @@
# define BOOST_HAS_TR1_COMPLEX_OVERLOADS
#endif
+#if (!defined(_GLIBCXX_HAS_GTHREADS) || !defined(_GLIBCXX_USE_C99_STDINT_TR1)) && (!defined(BOOST_NO_0X_HDR_CONDITION_VARIABLE) || !defined(BOOST_NO_0X_HDR_MUTEX))
+# define BOOST_NO_0X_HDR_CONDITION_VARIABLE
+# define BOOST_NO_0X_HDR_MUTEX
+#endif
+
// C++0x features in GCC 4.5.0 and later
//
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
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