Boost logo

Boost :

From: Angus Leeming (angus.leeming_at_[hidden])
Date: 2005-12-19 05:38:05


Markus Schöpflin wrote:

> Eric Niebler wrote:
>
>> This from the regression results for como- 4_3_3- vc7_1:
>>
>> "G:\boost\boost/test/impl/execution_monitor.ipp", line 60: warning
>> #11-D:
>> unrecognized preprocessing directive
>> # warning Debugger check disabled. Either define _WIN32_WINNT or
>> # include Boost.Test header in front of winbase.h
>> ^
>
> This warning is present on Tru64/CXX for ages now. See
> http://comments.gmane.org/gmane.comp.lib.boost.devel/126154 for
> reference. I would greatly appreciate if it disappeared...

Something like:

#ifdef BOOST_PP_HAS_WARNINGS
#warning foo bar
#endif

where BOOST_PP_HAS_WARNINGS is defined in boost/config/compiler/gcc.hpp

?

Or, given the proposed rewrite of the config stuff have the macro defined
to 0 for all compilers except gcc and use as #if BOOST_PP_HAS_WARNINGS

Angus


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