Subject: Re: [boost] [Wiki] Changes in information about gcc warnings.
From: Patrick Horgan (phorgan1_at_[hidden])
Date: 2011-01-19 22:03:50
On 01/19/2011 07:18 AM, Stewart, Robert wrote:
> ... elision by patrick ...
> There's good information there, but it's a bit verbose and could include the limited ability to suppress some warnings. Perhaps this would work better?
> "This causes GCC to issue all required diagnostics of the language standard given by the -std=xxxx option (the default is -std=gnu++98) and to warn about the use of GCC extensions. (This would, for instance, warn about the use of #ident, which is a non-standard, GCC extension.) Some of the warnings this option will trigger can be suppressed, such as the use of long long in C++98 code with -Wno-long-long, but most cannot.
> "Using this option helps to write portable code for a given language standard. Boost increasingly uses C++0x features, so -std=c++0x increasingly is a necessary alternative to the default.
> "Refer to http://gcc.gnu.org/onlinedocs/gcc/Standards.html for more
Nice. Do you think that there should be information about suppression
here, (and I suppose if here, then also in the sections on -Wall and
-Wextra), when there's a whole section on gcc suppression?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk