Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76529 - in branches/release: . boost boost/detail status
From: dnljms_at_[hidden]
Date: 2012-01-15 14:56:14


Author: danieljames
Date: 2012-01-15 14:56:13 EST (Sun, 15 Jan 2012)
New Revision: 76529
URL: http://svn.boost.org/trac/boost/changeset/76529

Log:
Detail: Merge disabled gcc container forwardings. Fixes #6323.

Properties modified:
   branches/release/ (props changed)
   branches/release/boost/ (props changed)
   branches/release/boost/detail/ (props changed)
   branches/release/status/ (props changed)
   branches/release/status/explicit-failures-markup.xml (contents, props changed)
Text files modified:
   branches/release/boost/detail/container_fwd.hpp | 6 +++++-
   branches/release/status/explicit-failures-markup.xml | 23 +++++++++++++++++++++++
   2 files changed, 28 insertions(+), 1 deletions(-)

Modified: branches/release/boost/detail/container_fwd.hpp
==============================================================================
--- branches/release/boost/detail/container_fwd.hpp (original)
+++ branches/release/boost/detail/container_fwd.hpp 2012-01-15 14:56:13 EST (Sun, 15 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

Modified: branches/release/status/explicit-failures-markup.xml
==============================================================================
--- branches/release/status/explicit-failures-markup.xml (original)
+++ branches/release/status/explicit-failures-markup.xml 2012-01-15 14:56:13 EST (Sun, 15 Jan 2012)
@@ -1356,6 +1356,29 @@
         </mark-expected-failures>
 
         <mark-expected-failures>
+ <test name="correctly_disable"/>
+ <toolset name="gcc-4.2*"/>
+ <toolset name="gcc-4.3*"/>
+ <toolset name="gcc-4.4*"/>
+ <toolset name="gcc-4.5*"/>
+ <toolset name="gcc-4.6*"/>
+ <toolset name="gcc-4.7*"/>
+ <toolset name="gcc-mingw-*"/>
+ <toolset name="darwin-4.2"/>
+ <toolset name="clang-darwin-trunk"/>
+ <toolset name="clang-darwin-normal"/>
+ <toolset name="clang-darwin-linux-2.9"/>
+ <toolset name="intel-linux-*"/>
+ <note author="Daniel James">
+ GCC's libstdc++ has a versioned namespace feature which breaks
+ container forwarding. I don't know how to detect it so I'm just
+ always disabling it, which means that a lot of setups which
+ means that it's disabled for a lot of setups where it could
+ work - which is what these failures represent.
+ </note>
+ </mark-expected-failures>
+
+ <mark-expected-failures>
             <test name="container_fwd"/>
             <test name="container_fwd_debug"/>
             <test name="container_no_fwd_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