|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62251 - trunk/boost/bind
From: pdimov_at_[hidden]
Date: 2010-05-26 15:34:12
Author: pdimov
Date: 2010-05-26 15:34:10 EDT (Wed, 26 May 2010)
New Revision: 62251
URL: http://svn.boost.org/trac/boost/changeset/62251
Log:
Fix version check, as g++ 4.1 still has the PCH bug. Refs #4172.
Text files modified:
trunk/boost/bind/placeholders.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/bind/placeholders.hpp
==============================================================================
--- trunk/boost/bind/placeholders.hpp (original)
+++ trunk/boost/bind/placeholders.hpp 2010-05-26 15:34:10 EDT (Wed, 26 May 2010)
@@ -25,7 +25,7 @@
namespace
{
-#if defined(__BORLANDC__) || defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ < 400)
+#if defined(__BORLANDC__) || defined(__GNUC__) && (__GNUC__ < 4)
static inline boost::arg<1> _1() { return boost::arg<1>(); }
static inline boost::arg<2> _2() { return boost::arg<2>(); }
@@ -38,7 +38,7 @@
static inline boost::arg<9> _9() { return boost::arg<9>(); }
#elif defined(BOOST_MSVC) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__) || \
- defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ == 400)
+ defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ < 2)
static boost::arg<1> _1;
static boost::arg<2> _2;
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