How to -Werror in a fortran testcase?

Paul Brook paul@codesourcery.com
Sun Apr 17 14:15:00 GMT 2005


On Saturday 16 April 2005 19:32, Richard Guenther wrote:
> Hi!
>
> gfortran does not support -Werror it seems.

It should, this is a bug.

> What do I need to put in dg-options to make a testcase fail, if there is
> any warning?

Doesn't dejagnu do this anyway? Ie. any unexpected errors or warnings will 
cause the test to fail.

Paul



More information about the Gcc mailing list