On 4/4/2012 6:42 PM, Gabriel Dos Reis wrote:
On Wed, Apr 4, 2012 at 4:21 PM, Robert Dewar<de...@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 :-)

-Wall is roughtly equivalent to -gnatwa in the GNAT front end,
and this is definitely NOT on by default. If you run GNAT in
default mode, there are virtually no false positives, since
the only warnings on by default are the kind of warnings that
say "if you execute this statement, your program will go wrong"

  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).



Reply via email to