Bug 2492 - gcj ignores -Werror
Summary: gcj ignores -Werror
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 1839
  Show dependency treegraph
 
Reported: 2006-03-28 04:48 UTC by Andrew Cagney
Modified: 2006-03-28 05:00 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-03-28 04:48:29 UTC
$ 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
$
Comment 1 Andrew Cagney 2006-03-28 04:58:28 UTC
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.
Comment 2 Andrew Cagney 2006-03-28 05:00:26 UTC
Red Hat bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187025