From 4e524d6c6ac26454047d2b90cd1d5bfe7db3c4d2 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 1 May 2006 19:52:34 +0000 Subject: [PATCH] Workaround for GCC-2.96 [SVN r33896] --- include/boost/concept/assert.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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