|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75026 - trunk/boost
From: eric_at_[hidden]
Date: 2011-10-17 23:45:01
Author: eric_niebler
Date: 2011-10-17 23:45:00 EDT (Mon, 17 Oct 2011)
New Revision: 75026
URL: http://svn.boost.org/trac/boost/changeset/75026
Log:
yet another tweak for gcc
Text files modified:
trunk/boost/foreach.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/foreach.hpp
==============================================================================
--- trunk/boost/foreach.hpp (original)
+++ trunk/boost/foreach.hpp 2011-10-17 23:45:00 EDT (Mon, 17 Oct 2011)
@@ -34,7 +34,7 @@
// With these C++0x features, temporary collections can be bound to
// rvalue references and their lifetime is extended. No copy/move is needed.
#if !defined(BOOST_NO_DECLTYPE) && !defined(BOOST_NO_RVALUE_REFERENCES) \
- && !(BOOST_WORKAROUND(__GNUC__, == 4) && (__GNUC_MINOR__ == 4) && !defined(BOOST_INTEL) && \
+ && !(BOOST_WORKAROUND(__GNUC__, == 4) && (__GNUC_MINOR__ <= 4) && !defined(BOOST_INTEL) && \
!defined(BOOST_CLANG))
# define BOOST_FOREACH_USE_RVALUE_REFERENCE_BINDING
// Some compilers let us detect even const-qualified rvalues at compile-time
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