From e8646fa2606a432fefc20fdfa7dd797cb1e9836a Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 20 Sep 2006 13:07:20 +0000 Subject: [PATCH] Work around ADL bug in GCC 3.3 that is causing failures in the Signals library [SVN r35224] --- include/boost/bind.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/bind.hpp b/include/boost/bind.hpp index bece8a7..6979fec 100644 --- a/include/boost/bind.hpp +++ b/include/boost/bind.hpp @@ -1161,7 +1161,8 @@ BOOST_BIND_OPERATOR( >=, greater_equal ) // visit_each, ADL -#if !defined( BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP ) && !defined( __BORLANDC__ ) +#if !defined( BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP ) && !defined( __BORLANDC__ ) \ + && !(defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ <= 3) template void visit_each( V & v, value const & t, int ) { @@ -1180,7 +1181,8 @@ template void visit_each( V & v, bind_t void visit_each( V & v, _bi::value const & t, int ) {