Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52880 - trunk/boost/dynamic_bitset
From: hartmut.kaiser_at_[hidden]
Date: 2009-05-10 12:55:08


Author: hkaiser
Date: 2009-05-10 12:55:07 EDT (Sun, 10 May 2009)
New Revision: 52880
URL: http://svn.boost.org/trac/boost/changeset/52880

Log:
Fixing the fix by taking into account __GNUC_PATCHLEVEL__ as well
Text files modified:
   trunk/boost/dynamic_bitset/dynamic_bitset.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/dynamic_bitset/dynamic_bitset.hpp
==============================================================================
--- trunk/boost/dynamic_bitset/dynamic_bitset.hpp (original)
+++ trunk/boost/dynamic_bitset/dynamic_bitset.hpp 2009-05-10 12:55:07 EDT (Sun, 10 May 2009)
@@ -999,7 +999,7 @@
     using detail::dynamic_bitset_impl::access_by_blocks;
     using detail::dynamic_bitset_impl::value_to_type;
 
-#if BOOST_WORKAROUND(__GNUC__, == 4) && (__GNUC_MINOR__ == 3)
+#if BOOST_WORKAROUND(__GNUC__, == 4) && (__GNUC_MINOR__ == 3) && (__GNUC_PATCHLEVEL__ == 3)
     // NOTE: Explicitly qualification of "bits_per_block"
     // breaks compilation on gcc 4.3.3
     const bool no_padding = bits_per_block == CHAR_BIT * sizeof(Block);


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