Improved gcc version check

[SVN r13074]
This commit is contained in:
John Maddock
2002-03-04 12:41:05 +00:00
parent 3ff3c46800
commit 5e8187b321

View File

@@ -36,7 +36,7 @@ int cpp_main(int argc, char* argv[])
value_test(true, boost::is_const<const UDT>::value)
value_test(true, boost::is_const<const volatile UDT>::value)
value_test(false, boost::is_const<const int&>::value)
#if !defined (__GNUC__) || (defined(__GNUC__) && __GNUC__==3 && __GNUC_MINOR__>=1)
#if !defined(__GNUC__) || ( __GNUC__ > 3 ) || ( __GNUC__ ==3 && __GNUC_MINOR__ >=1)
value_test(false, boost::is_const<cr_type>::value)
#else
value_fail(false, boost::is_const<cr_type>::value)
@@ -71,3 +71,4 @@ unsigned int expected_failures = 0;