This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: -Wall by default
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Robert Dewar <dewar at adacore dot com>
- Cc: Dominique Dhumieres <dominiq at lps dot ens dot fr>, gcc at gcc dot gnu dot org, law at redhat dot com
- Date: Wed, 4 Apr 2012 17:42:20 -0500
- Subject: Re: RFC: -Wall by default
- References: <20120404183438.CCA083BE18@mailhost.lps.ens.fr> <4F7CBB6E.5090504@adacore.com>
On Wed, Apr 4, 2012 at 4:21 PM, Robert Dewar <dewar@adacore.com> wrote:
> On 4/4/2012 2:34 PM, Dominique Dhumieres wrote:
>
>> IMO only the warnings in C that are likely errors should be the default as
>> it is in gfortran (don't ask for examples of such warnings for C, I am
>> quasi-illiterate).
>
>
> That's also the default philosophy in GNAT,
In which case you should NOT be objecting to the proposal :-)
> there never should be false
> positives at all in the default mode IMO (well hardly ever :-)
>
>>
>>
>> Dominique
>>
>> PS -Wall is a simple enough option to be remembered by all users who need
>> it (if they don't use it, they don't want it).
>
>