Boost logo

Boost :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2005-12-19 08:26:08


Angus Leeming wrote:

> > Presumably, therefore, the solution is to define
> BOOST_WARNING(text)
> > which expands to nothing with all compilers except gcc for which it
> > expands to #warning text.
>
> If this works, that would be great.

Macros expanding to a preprocessor directive result in undefined behaviour.

Regards Hartmut


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