This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


[adjusting Subject and also forwarding to gcc@]

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 -Werror=113,115,137 xunused.f90
> 
> turns those warnings into errors. 
> 
> Gfortran does not assign numbers to warnings, and the
> option -Werror turns ALL warnings into errors. I'd
> like finer control.

This does sound like a useful feature, not only for
gfortran, but for all of gcc.

Thoughts, comments?

	Thomas




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]