|
Boost : |
From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2002-03-03 12:12:19
Hi,
GCC 3.0 fails this test, but GCC 3.1 passes it.
Index: composite_traits_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/type_traits/tests/composite_traits_test.cpp,v
retrieving revision 1.10
diff -u -u -r1.10 composite_traits_test.cpp
--- composite_traits_test.cpp 23 Feb 2002 20:49:05 -0000 1.10
+++ composite_traits_test.cpp 3 Mar 2002 17:08:57 -0000
@@ -151,7 +151,11 @@
unsigned int expected_failures = 1;
#endif
#elif defined(__GNUC__)
+#if (__GNUC__ > 3) || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1)
+unsigned int expected_failures = 0;
+#else
unsigned int expected_failures = 1; // can't handle cv-qualified references
+#endif
#elif defined(BOOST_MSVC)
unsigned int expected_failures = 0;
#elif defined(__MWERKS__) || defined(__HP_aCC)
-- Craig Rodrigues http://www.gis.net/~craigr rodrigc_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk