Boost logo

Boost :

Subject: Re: [boost] Official warnings policy?
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-11-07 11:28:58


On Wed, Nov 4, 2009 at 9:22 AM, John Maddock <john_at_[hidden]> wrote:
> -Wall -pedantic -Wstrict-aliasing -fstrict-aliasing -Werror
>
> For gcc and:
>
> /W3 /WX
>
> for MSVC?

Would it be a good idea to document a macro
BOOST_NO_GCC_SYSTEM_HEADER, to enable developers to use something
like:

#ifndef BOOST_NO_GCC_SYSTEM_HEADER
#pragma GCC system_header
#endif

The motivation being that a developer could still see warnings by
#defining BOOST_NO_GCC_SYSTEM_HEADER while (by default) hiding
warnings for users of the library?

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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