This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: -Wall by default
- From: Robert Dewar <dewar at adacore dot com>
- To: Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Cc: gcc at gcc dot gnu dot org, law at redhat dot com, gdr at integrable-solutions dot net
- Date: Wed, 04 Apr 2012 17:21:50 -0400
- Subject: Re: RFC: -Wall by default
- References: <20120404183438.CCA083BE18@mailhost.lps.ens.fr>
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, 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).