diff --git a/include/boost/concept/assert.hpp b/include/boost/concept/assert.hpp index 8d689ea..871660c 100755 --- a/include/boost/concept/assert.hpp +++ b/include/boost/concept/assert.hpp @@ -17,9 +17,13 @@ # if !defined(BOOST_NO_OLD_CONCEPT_SUPPORT) \ && !defined(BOOST_NO_SFINAE) \ - && !(BOOST_WORKAROUND(__GNUC__, == 3) && BOOST_WORKAROUND(__GNUC_MINOR__, < 4)) + \ + && !(BOOST_WORKAROUND(__GNUC__, == 3) && BOOST_WORKAROUND(__GNUC_MINOR__, < 4)) \ + && !(BOOST_WORKAROUND(__GNUC__, == 2) + +// Note: gcc-2.96 through 3.3.x have some SFINAE, but no ability to +// check for the presence of particularmember functions. -// Note: gcc-3.3.x had no member function pointer SFINAE # define BOOST_OLD_CONCEPT_SUPPORT # endif