$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r76419 - trunk/boost/detail
From: dnljms_at_[hidden]
Date: 2012-01-11 18:00:55
Author: danieljames
Date: 2012-01-11 18:00:55 EST (Wed, 11 Jan 2012)
New Revision: 76419
URL: http://svn.boost.org/trac/boost/changeset/76419
Log:
Detail: Disable container forward declarations for recent versions of libstdc++, refs #6326.
Text files modified: 
   trunk/boost/detail/container_fwd.hpp |     6 +++++-                                  
   1 files changed, 5 insertions(+), 1 deletions(-)
Modified: trunk/boost/detail/container_fwd.hpp
==============================================================================
--- trunk/boost/detail/container_fwd.hpp	(original)
+++ trunk/boost/detail/container_fwd.hpp	2012-01-11 18:00:55 EST (Wed, 11 Jan 2012)
@@ -38,7 +38,11 @@
 #    define BOOST_DETAIL_NO_CONTAINER_FWD
 #  elif defined(__GLIBCPP__) || defined(__GLIBCXX__)
      // GNU libstdc++ 3
-#    if defined(_GLIBCXX_DEBUG) \
+     //
+     // Disable forwarding for all recent versions, as the library has a
+     // versioned namespace mode, and I don't know how to detect it.
+#    if __GLIBCXX__ >= 20070513 \
+        || defined(_GLIBCXX_DEBUG) \
         || defined(_GLIBCXX_PARALLEL) \
         || defined(_GLIBCXX_PROFILE)
 #      define BOOST_DETAIL_NO_CONTAINER_FWD