[random] Partial Borland patch for failing Random test

THe compile-time failure with Random_test.cpp occurs because too many warning messages are generated - all for an unused parameter. The following patch disables the warning: cvs diff -w libs\random\random_test.cpp (in directory D:\Projects\boost) Index: libs/random/random_test.cpp =================================================================== RCS file: /cvsroot/boost/boost/libs/random/random_test.cpp,v retrieving revision 1.56 diff -w -r1.56 random_test.cpp 30a31,34
#if BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x564) ) #pragma warn -par #endif
This is a partial patch, because the following 3 lines that occur in the tests produce a code-gen bug that gives access violations when running the test: instantiate_urng("mt11213b", mt11213b(), 0u); instantiate_urng("mt19937", mt19937(), 0u); instantiate_urng("lagged_fibonacci607", lagged_fibonacci607(), 0.0); I don't have a patch for these yet, but at least they are genuine failures <g> -- AlisdairM
participants (2)
-
AlisdairM
-
John Maddock