Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-10-17 05:19:36


Author: johnmaddock
Date: 2007-10-17 05:19:35 EDT (Wed, 17 Oct 2007)
New Revision: 40110
URL: http://svn.boost.org/trac/boost/changeset/40110

Log:
Change #warning to #pragma message: #warning is a gcc-ism and the code in question is msvc-specific (Tested on all msvc variants, plus gcc-minw32).
Text files modified:
   trunk/boost/test/impl/execution_monitor.ipp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/test/impl/execution_monitor.ipp
==============================================================================
--- trunk/boost/test/impl/execution_monitor.ipp (original)
+++ trunk/boost/test/impl/execution_monitor.ipp 2007-10-17 05:19:35 EDT (Wed, 17 Oct 2007)
@@ -57,7 +57,7 @@
 
 # ifndef _WIN32_WINNT
 # ifdef _WINBASE_
-# warning Debugger check disabled. Either define _WIN32_WINNT or include Boost.Test header in front of winbase.h
+# pragma message("Debugger check disabled. Either define _WIN32_WINNT or include Boost.Test header in front of winbase.h")
 # else
 # define BOOST_TEST_DEBUGGER_CHECK
 # define _WIN32_WINNT 0x0400


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