From 7f3b917cea99f7424f86f77122000092983962b8 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 14 Jan 2004 13:27:20 +0000 Subject: [PATCH] Added workaround for gcc3.4 [SVN r21727] --- include/boost/type_traits/is_abstract.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/type_traits/is_abstract.hpp b/include/boost/type_traits/is_abstract.hpp index b26d107..2d2ff0b 100755 --- a/include/boost/type_traits/is_abstract.hpp +++ b/include/boost/type_traits/is_abstract.hpp @@ -67,7 +67,11 @@ struct is_abstract_imp // GCC2 won't even parse this template if we embed the computation // of s1 in the computation of value. +#ifdef __GNUC__ + BOOST_STATIC_CONSTANT(unsigned, s1 = sizeof(is_abstract_imp::template check(0))); +#else BOOST_STATIC_CONSTANT(unsigned, s1 = sizeof(check(0))); +#endif BOOST_STATIC_CONSTANT(bool, value = (::boost::type_traits::ice_and<