|
Boost : |
From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2002-03-03 12:29:02
Hi,
GCC 3.0 fails this test but GCC 3.1 passes it.
Index: transform_traits_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/type_traits/tests/transform_traits_test.cpp,v
retrieving revision 1.5
diff -u -u -r1.5 transform_traits_test.cpp
--- transform_traits_test.cpp 7 Jan 2002 12:58:57 -0000 1.5
+++ transform_traits_test.cpp 3 Mar 2002 17:22:15 -0000
@@ -471,7 +471,13 @@
#endif
#elif defined(BOOST_MSVC)
unsigned int expected_failures = 84; // partial specialisation (fails for UDT's)
-#elif defined(__GNUC__) || defined(__SUNPRO_CC)
+#elif defined(__GNUC__)
+#if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
+unsigned int expected_failures = 0;
+#else
+unsigned int expected_failures = 1; // cv-qualified references
+#endif
+#elif defined(__SUNPRO_CC)
unsigned int expected_failures = 1; // cv-qualified references
#elif defined(__HP_aCC)
unsigned int expected_failures = 272; // remove_const/remove_volatile/remove_cv don't work
-- 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