
"Markus Schöpflin" <markus.schoepflin@comsoft.de> wrote in message news:d8rkk6$a0h$1@sea.gmane.org...
boost.test currently uses the warning preprocessor directive which isn't defined in the standard. This causes warnings by the compiler.
cxx: Warning: /src/boost-HEAD/boost/test/impl/execution_monitor.ipp, line 60: #11-D unrecognized preprocessing directive # warning Debugger check disabled. Either define _WIN32_WINNT or include Boost.Test header in front of winbase.h -------^
Might it make sense to use #error instead?
No. I need it as warning. Hopefully it wouldn't cause compile error. You aren't supposed to be hit by this part of the code unless there is an error condition described. The only compiler we had this issue with supports warning directive. Gennadiy