Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57160 - trunk/boost/proto
From: eric_at_[hidden]
Date: 2009-10-26 16:21:21


Author: eric_niebler
Date: 2009-10-26 16:21:20 EDT (Mon, 26 Oct 2009)
New Revision: 57160
URL: http://svn.boost.org/trac/boost/changeset/57160

Log:
work around EDG compiler bug, fixes #3290
Text files modified:
   trunk/boost/proto/proto_fwd.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/boost/proto/proto_fwd.hpp
==============================================================================
--- trunk/boost/proto/proto_fwd.hpp (original)
+++ trunk/boost/proto/proto_fwd.hpp 2009-10-26 16:21:20 EDT (Mon, 26 Oct 2009)
@@ -45,13 +45,14 @@
 
 #ifndef BOOST_PROTO_BROKEN_CONST_OVERLOADS
 # if BOOST_WORKAROUND(__GNUC__, == 3) \
- || BOOST_WORKAROUND(__EDG_VERSION__, BOOST_TESTED_AT(306))
+ || BOOST_WORKAROUND(__EDG_VERSION__, BOOST_TESTED_AT(310))
 # define BOOST_PROTO_BROKEN_CONST_OVERLOADS
 # endif
 #endif
 
 #ifndef BOOST_PROTO_BROKEN_CONST_QUALIFIED_FUNCTIONS
-# if BOOST_WORKAROUND(__GNUC__, == 3)
+# if BOOST_WORKAROUND(__GNUC__, == 3) \
+ || BOOST_WORKAROUND(__EDG_VERSION__, BOOST_TESTED_AT(310))
 # define BOOST_PROTO_BROKEN_CONST_QUALIFIED_FUNCTIONS
 # endif
 #endif


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