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


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 either to use the common diagnostics 
infrastructure or add the feature to the Fortran-specific diagnostics 
code.

-- 
Joseph S. Myers
joseph@codesourcery.com


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