|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2003-12-22 07:28:54
The following patch gets the last regressing Boost.test test program
compiling with gcc2.95.3,
OK to commit?
Thanks,
John.
Index: test_tools_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/test/test/test_tools_test.cpp,v
retrieving revision 1.27
diff -u -b -r1.27 test_tools_test.cpp
--- test_tools_test.cpp 1 Dec 2003 00:42:38 -0000 1.27
+++ test_tools_test.cpp 22 Dec 2003 12:26:12 -0000
@@ -216,10 +216,17 @@
output.is_equal( "struct A\n" )
);
+#ifndef BOOST_NO_STD_LOCALE
CHECK_TOOL_USAGE(
BOOST_MESSAGE( std::hex << std::showbase << 20 ),
output.is_equal( "0x14\n" )
);
+#else
+ CHECK_TOOL_USAGE(
+ BOOST_MESSAGE( std::hex << "0x" << 20 ),
+ output.is_equal( "0x14\n" )
+ );
+#endif
CHECK_TOOL_USAGE(
BOOST_MESSAGE( std::setw( 4 ) << 20 ),
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk