Opened 15 years ago
Closed 15 years ago
#1030 closed Bugs (fixed)
execution_monitor.ipp #warning directive breaks compilation on MSVC 8.0
Reported by: | Stjepan Rajko | Owned by: | Gennadiy Rozental |
---|---|---|---|
Milestone: | Component: | test | |
Version: | Severity: | Problem | |
Keywords: | Cc: |
Description
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")
Change History (3)
comment:1 by , 15 years ago
Owner: | set to |
---|
comment:2 by , 15 years ago
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
fixed