Re: assign numbers to warnings; treat selected warnings as errors

2007-05-01 Thread Gabriel Dos Reis
Gerald Pfeifer <[EMAIL PROTECTED]> writes: | On Fri, 20 Apr 2007, Manuel López-Ibáñez wrote: | > Not only that, but you can do -Werror -Wno-error=foo, to get errors | > for everything except -Wfoo. Also, you can do | > -fdiagnostics-show-options to find out which -Wfoo option generates | > each wa

Re: assign numbers to warnings; treat selected warnings as errors

2007-05-01 Thread Gerald Pfeifer
On Fri, 20 Apr 2007, Manuel López-Ibáñez wrote: > Not only that, but you can do -Werror -Wno-error=foo, to get errors > for everything except -Wfoo. Also, you can do > -fdiagnostics-show-options to find out which -Wfoo option generates > each warning message. It is unfortunate that this is missing

Re: assign numbers to warnings; treat selected warnings as errors

2007-04-27 Thread Steven Bosscher
On 27 Apr 2007 08:50:57 -0500, Gabriel Dos Reis <[EMAIL PROTECTED]> wrote: Thomas Koenig <[EMAIL PROTECTED]> writes: | [adjusting Subject and also forwarding to [EMAIL PROTECTED] | | On Wed, 2007-04-18 at 12:12 -0700, Vivek Rao wrote: | > Here is a feature of g95 that I would like to see in | >

Re: assign numbers to warnings; treat selected warnings as errors

2007-04-27 Thread Gabriel Dos Reis
Thomas Koenig <[EMAIL PROTECTED]> writes: | [adjusting Subject and also forwarding to [EMAIL PROTECTED] | | On Wed, 2007-04-18 at 12:12 -0700, Vivek Rao wrote: | > Here is a feature of g95 that I would like to see in | > gfortran. G95 assigns numbers to warnings and allows | > selected warnings t

Re: assign numbers to warnings; treat selected warnings as errors

2007-04-20 Thread Manuel López-Ibáñez
On 20/04/07, Joseph S. Myers <[EMAIL PROTECTED]> wrote: On Fri, 20 Apr 2007, Thomas Koenig wrote: > This does sound like a useful feature, not only for > gfortran, but for all of gcc. GCC has -Werror=foo in 4.2 or later (with warning option names, not numbers). That gives you the command-line

Re: assign numbers to warnings; treat selected warnings as errors

2007-04-20 Thread Joseph S. Myers
On Fri, 20 Apr 2007, Thomas Koenig wrote: > This does sound like a useful feature, not only for > gfortran, but for all of gcc. GCC has -Werror=foo in 4.2 or later (with warning option names, not numbers). That gives you the command-line syntax and semantics; to use it in gfortran, you'd need

Re: assign numbers to warnings; treat selected warnings as errors

2007-04-20 Thread Thomas Koenig
[adjusting Subject and also forwarding to [EMAIL PROTECTED] On Wed, 2007-04-18 at 12:12 -0700, Vivek Rao wrote: > Here is a feature of g95 that I would like to see in > gfortran. G95 assigns numbers to warnings and allows > selected warnings to be treated as errors. [...] > g95 -Wall -Wextra -W