|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49586 - trunk/boost/dynamic_bitset
From: gennaro.prota_at_[hidden]
Date: 2008-11-04 11:52:00
Author: gennaro_prota
Date: 2008-11-04 11:52:00 EST (Tue, 04 Nov 2008)
New Revision: 49586
URL: http://svn.boost.org/trac/boost/changeset/49586
Log:
dynamic_bitset:
* removed use of BOOST_WORKAROUND in #if for gcc bug c++/8419, as recent
changes to the implementation of BOOST_WORKAROUND broke its usage with
arguments such as ( (__GNUC__) * 100 * 100 + (__GNUC_MINOR__) * 100 )
Text files modified:
trunk/boost/dynamic_bitset/config.hpp | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
Modified: trunk/boost/dynamic_bitset/config.hpp
==============================================================================
--- trunk/boost/dynamic_bitset/config.hpp (original)
+++ trunk/boost/dynamic_bitset/config.hpp 2008-11-04 11:52:00 EST (Tue, 04 Nov 2008)
@@ -20,19 +20,13 @@
# define BOOST_OLD_IOSTREAMS
#endif
-// this should be in the config system some day
-// see http://lists.boost.org/MailArchives/boost/msg62291.php
-#define BOOST_DYNAMIC_BITSET_GNUC_VERSION ( (__GNUC__) * 100 * 100 \
- + (__GNUC_MINOR__) * 100)
-
// no-op function to workaround gcc bug c++/8419
//
namespace boost { namespace detail {
template <typename T> T make_non_const(T t) { return t; }
}}
-#if defined(__GNUC__) && BOOST_WORKAROUND(BOOST_DYNAMIC_BITSET_GNUC_VERSION, \
- BOOST_TESTED_AT(30300))
+#if defined(__GNUC__)
# define BOOST_DYNAMIC_BITSET_WRAP_CONSTANT(expr) \
(boost::detail::make_non_const(expr))
#else
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