Update of /cvsroot/boost/boost/boost/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25339

Modified Files:
      Tag: RC_1_34_0
        test_tools.hpp 
Log Message:
Make the msvc-6.5 hack even more specific, i.e. apply only in release builds.


Index: test_tools.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/test/test_tools.hpp,v
retrieving revision 1.60.2.6
retrieving revision 1.60.2.7
diff -u -d -r1.60.2.6 -r1.60.2.7
--- test_tools.hpp      16 Dec 2006 15:02:16 -0000      1.60.2.6
+++ test_tools.hpp      22 Feb 2007 17:57:29 -0000      1.60.2.7
@@ -156,7 +156,7 @@
 
 // The argument version of the following macros are causing "Internal Compiler 
Errors"
 // on MSVC 6.5 when inlining is turned on (i.e. usually in release builds)
-#if BOOST_WORKAROUND(BOOST_MSVC, <=1200)
+#if BOOST_WORKAROUND(BOOST_MSVC, <=1200) && defined(NDEBUG)
 #define BOOST_WARN_EQUAL( L, R ) BOOST_WARN( (L) == (R) )
 #define BOOST_CHECK_EQUAL( L, R ) BOOST_CHECK( (L) == (R) )
 #define BOOST_REQUIRE_EQUAL( L, R ) BOOST_REQUIRE( (L) == (R) )
@@ -609,6 +609,9 @@
 //  Revision History :
 //
 //  $Log$
+//  Revision 1.60.2.7  2007/02/22 17:57:29  speedsnail
+//  Make the msvc-6.5 hack even more specific, i.e. apply only in release 
builds.
+//
 //  Revision 1.60.2.6  2006/12/16 15:02:16  speedsnail
 //  Merged from HEAD
 //


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to