------- 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