Subject: Re: [boost] [Wiki] Changes in information about gcc warnings.
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2011-01-19 05:06:17
> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> On Behalf Of Patrick Horgan
> Sent: Wednesday, January 19, 2011 12:12 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] [Wiki] Changes in information about gcc warnings.
> > As Paul noted, such details should be included in the Wiki so they won't
> I just added this to the wiki for pedantic:
> This instructs GCC to consider the release version of C or C++ and
> to first issue all warnings required by that version of the
> standard, and second warn about the use of gcc extenstions to the
> language. This would, for instance warn about the use of /#ident/
> since it is a gcc extension and is not in any of the standards.
> Using -pedantic makes it easier to write portable code, or at least
> to know when it is not. Best used with the /-std=xxxxx/ argument to
> the compiler, so that you know what version of the standard you're
> being compared to. Currently if /-std=xxxxx/ is not specified, it's
> as if you'd written /-std=gnu++98/. Much of boost uses facilities
> from more recent versions of the standard, so it might make more
> sense to explicitly specify /-std=c++0x/ or /-std=gnu++0x/.
> /-std=c++0x/ is most portable. See the page
> http://gcc.gnu.org/onlinedocs/gcc/Standards.html for more information.
> What do you think?
Looks good to me (but I'm only a Microsofty ;-)
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk