This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/fortran] Add option to make 1st error fatal
On Sun, Oct 30, 2005 at 10:55:00PM -0500, Andrew Pinski wrote:
> > Here's a new patch based on feedback from Andrew Pinski on IRC.
> > Bubblestrap and regression tested on i386-*-freebsd.
>
> -Werror does not do what option does. It just changes warnings
> to be considered an error for the return value.
According to 'tkinfo gcc',
`-Werror'
Make all warnings into hard errors. Source code which triggers
warnings will be rejected.
This is exactly what my patch does. A warning becomes a fatal
error.
> And you really don't need to document these options as they are
> generic options.
It's a PITA to get Fortran users to read a Fortran manual, I
suspect most would not read what would appear to be a C
compiler's manual.
--
Steve