From f46335fe1ebc03e750259b298971722fd7dcdda5 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Wed, 8 Sep 2004 13:04:24 +0000 Subject: [PATCH] workaround GCC 3.4.1 bug [SVN r24971] --- include/boost/mpl/assert.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/boost/mpl/assert.hpp b/include/boost/mpl/assert.hpp index 1e39229..4d72b02 100644 --- a/include/boost/mpl/assert.hpp +++ b/include/boost/mpl/assert.hpp @@ -214,11 +214,12 @@ enum { \ # if !defined(BOOST_MPL_CFG_ASSERT_BROKEN_POINTER_TO_POINTER_TO_MEMBER) # define BOOST_MPL_ASSERT_RELATION(x, rel, y) \ enum { \ - BOOST_PP_CAT(mpl_assert_rel,__LINE__) = sizeof(boost::mpl::assert_::arg rel boost::mpl::assert_::arg) \ - , BOOST_PP_CAT(mpl_assertion_in_line_,__LINE__) = sizeof( \ + BOOST_PP_CAT(mpl_assertion_in_line_,__LINE__) = sizeof( \ boost::mpl::assertion_failed<(x rel y)>( \ (boost::mpl::failed ************ ( boost::mpl::assert_relation< \ - boost::mpl::assert_::relations(BOOST_PP_CAT(mpl_assert_rel,__LINE__)) \ + boost::mpl::assert_::relations( sizeof( \ + boost::mpl::assert_::arg rel boost::mpl::assert_::arg \ + ) ) \ , x \ , y \ >::************)) 0 ) \