try to workaround GCC/Linux 'assert' bug

[SVN r25708]
This commit is contained in:
Aleksey Gurtovoy
2004-10-13 14:27:35 +00:00
parent f40f4e3682
commit e75b92f43a

View File

@@ -19,12 +19,12 @@
#if !BOOST_WORKAROUND(__BORLANDC__, < 0x600) #if !BOOST_WORKAROUND(__BORLANDC__, < 0x600)
# define INTEGRAL_WRAPPER_RUNTIME_TEST(i, T) \ # define INTEGRAL_WRAPPER_RUNTIME_TEST(i, T) \
assert(WRAPPER(T,i)() == i); \ assert(( WRAPPER(T,i)() == i )); \
assert(WRAPPER(T,i)::value == i); \ assert(( WRAPPER(T,i)::value == i )); \
/**/ /**/
#else #else
# define INTEGRAL_WRAPPER_RUNTIME_TEST(i, T) \ # define INTEGRAL_WRAPPER_RUNTIME_TEST(i, T) \
assert(WRAPPER(T,i)::value == i); \ assert(( WRAPPER(T,i)::value == i )); \
/**/ /**/
#endif #endif