Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2007-05-22 16:52:58


Author: troy
Date: 2007-05-22 16:52:57 EDT (Tue, 22 May 2007)
New Revision: 4189
URL: http://svn.boost.org/trac/boost/changeset/4189

Log:
this test provokes an infinite loop in the compiler on this platform. leave #warning behind to catch up with it later

Text files modified:
   sandbox/troy/boost_1_34_0/libs/numeric/conversion/test/converter_test.cpp | 7 +++++--
   1 files changed, 5 insertions(+), 2 deletions(-)

Modified: sandbox/troy/boost_1_34_0/libs/numeric/conversion/test/converter_test.cpp
==============================================================================
--- sandbox/troy/boost_1_34_0/libs/numeric/conversion/test/converter_test.cpp (original)
+++ sandbox/troy/boost_1_34_0/libs/numeric/conversion/test/converter_test.cpp 2007-05-22 16:52:57 EDT (Tue, 22 May 2007)
@@ -398,6 +398,10 @@
 
 void test_converter_as_function_object()
 {
+#if (defined(__FreeBSD__) && (__GNUC__ == 3) && (__GNUC_MINOR__ == 4) && (__GNUC_PATCHLEVEL__ == 4))
+#warning Test disabled. This provokes an infinite loop in the compiler.
+#else
+
   cout << "Testing converter as function object.\n";
 
   // Create a sample sequence of double values.
@@ -432,8 +436,8 @@
   // Match 's' and 'd' which should be equal.
   bool double_to_double_OK = std::equal(S.begin(),S.end(),D.begin()) ;
   BOOST_CHECK_MESSAGE(double_to_double_OK, "converter (double,double) as function object");
+#endif
 }
-
 #if BOOST_WORKAROUND(__IBMCPP__, <= 600 ) // VCAPP6
 # define UNOPTIMIZED
 #else
@@ -559,4 +563,3 @@
   return 0;
 }
 //---------------------------------------------------------------------------
-


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk