Next: Code Generation, Previous: Encodings, Up: Invoking gcj
gcj implements several warnings. As with other generic
gcc warnings, if an option of the form -Wfoo
enables a
warning, then -Wno-foo
will disable it. Here we've chosen to
document the form of the warning which will have an effect – the
default being the opposite of what is listed.
-Wredundant-modifiers
public
.
-Wextraneous-semicolon
-Wno-out-of-date
-Wno-deprecated
-Wunused
-Wunused
.
-Wall
-Wredundant-modifiers -Wextraneous-semicolon
-Wunused
.