Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62660 - trunk/boost
From: eric_at_[hidden]
Date: 2010-06-09 10:25:15


Author: eric_niebler
Date: 2010-06-09 10:25:14 EDT (Wed, 09 Jun 2010)
New Revision: 62660
URL: http://svn.boost.org/trac/boost/changeset/62660

Log:
remove out-of-date work-arounds for sun compilers, fixes #4306
Text files modified:
   trunk/boost/foreach.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/foreach.hpp
==============================================================================
--- trunk/boost/foreach.hpp (original)
+++ trunk/boost/foreach.hpp 2010-06-09 10:25:14 EDT (Wed, 09 Jun 2010)
@@ -41,7 +41,7 @@
 # if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
   || BOOST_WORKAROUND(__BORLANDC__, < 0x593) \
   || (BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 700) && defined(_MSC_VER)) \
- || BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x570)) \
+ || BOOST_WORKAROUND(__SUNPRO_CC, < 0x5100) \
   || BOOST_WORKAROUND(__DECCXX_VER, <= 60590042)
 # define BOOST_FOREACH_NO_RVALUE_DETECTION
 # endif
@@ -56,6 +56,7 @@
   || (BOOST_WORKAROUND(__GNUC__, == 3) && (__GNUC_MINOR__ <= 3) && defined(__APPLE_CC__)) \
   || BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600)) \
   || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3206)) \
+ || BOOST_WORKAROUND(__SUNPRO_CC, >= 0x5100) \
   || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x590))
 # define BOOST_FOREACH_NO_CONST_RVALUE_DETECTION
 # 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