$ gcj -Werror -Wall -c -o /dev/null ../../../frysk/frysk-imports/tests/werror/Werror.java ../../../frysk/frysk-imports/tests/werror/Werror.java:6: warning: An empty declaration is a deprecated feature that should not be used. }; // This stray semi-colon attracts a warning. ^ 1 warning $ echo $? 0 $
Index: frysk-imports/tests/ChangeLog 2006-03-27 Andrew Cagney <cagney@redhat.com> * Makefile.am (frysk2492/java.sh, frysk2492/cxx.sh): Rename werror tests to match frysk bug number.
Red Hat bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187025