Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-06-16 09:31:17


"Markus Schöpflin" <markus.schoepflin_at_[hidden]> wrote in message
news:d8rkk6$a0h$1_at_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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk