Subject: [Boost-bugs] [Boost C++ Libraries] #1030: execution_monitor.ipp #warning directive breaks compilation on MSVC 8.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-06-03 17:36:58
#1030: execution_monitor.ipp #warning directive breaks compilation on MSVC 8.0
--------------------+-------------------------------------------------------
Reporter: srajko | Owner:
Type: Bugs | Status: new
Milestone: | Component: test
Version: | Severity: Problem
Keywords: |
--------------------+-------------------------------------------------------
This problem is occuring in CVS HEAD using MSVC 8.0:
In execution_monitor.ipp, the line:
# warning Debugger check disabled. Either define _WIN32_WINNT or
include Boost.Test header in front of winbase.h
breaks compilation with
boost/test/impl/execution_monitor.ipp(60) : fatal error C1021: invalid
preprocessor command 'warning'
On MSVC, the following would work instead:
# pragma message("Warning: Debugger check disabled. Either define
_WIN32_WINNT or include Boost.Test header in front of winbase.h")
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1030>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:55 UTC