Boost logo

Boost :

Subject: Re: [boost] Official warnings policy?
From: David Abrahams (dave_at_[hidden])
Date: 2009-11-06 20:52:14


on Thu Nov 05 2009, Beman Dawes <bdawes-AT-acm.org> wrote:

> On Wed, Nov 4, 2009 at 4:12 PM, Patrick Horgan <phorgan1_at_[hidden]> wrote:
>
>> -pedantic issues all the warnings required by strict ISO C and ISO C++.
>>  They are in the standard for a reason...
>
> Tread carefully here. The standards require "diagnostics", not
> warnings. And the warnings from gcc -pedantic and other compiler's
> equivalent go far beyond anything mandated by the standards.

Maybe so, but -pedantic does detect some illegal code that isn't
otherwise flagged and can't be guaranteed to be portable.

-- 
Dave Abrahams           Meet me at BoostCon: http://www.boostcon.com
BoostPro Computing
http://www.boostpro.com

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