[Bug fortran/30929] -pedantic-error produced only warnings and no errors
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 27 23:33:00 GMT 2007
------- Comment #2 from burnus at gcc dot gnu dot org 2007-02-27 23:33 -------
> The same is true for -Werror.
I have to correct myself:
-Werror gives a non-zero exit status, but still writes "Warning:". I think
gfortran should follow gcc by changing also the label from "Warning:" to
"Error:" for -Werror.
-pedantic-errors seems to be difficult as it is hard to divide -Wall warnings
from -pedantic warnings. The easiest way is probably to imply -Wall by
-pedantic_errors (defined in flags.h as flag_pedantic_errors).
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|-pedantic-error produced |-pedantic-error produced
|only warnings and no errors |only warnings and no errors
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30929
More information about the Gcc-bugs
mailing list