GNU Info

Info Node: (gcj-300.info)Warnings

(gcj-300.info)Warnings


Next: Code Generation Prev: Encodings Up: Invoking gcj
Enter node , (file) or (file)node

Warnings
========

   `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'
     With this flag, `gcj' will warn about redundant modifiers.  For
     instance, it will warn if an interface method is declared `public'.

`-Wextraneous-semicolon'
     This causes `gcj' to warn about empty statements.  Empty statements
     have been deprecated.

`-Wno-out-of-date'
     This option will cause `gcj' not to warn when a source file is
     newer than its matching class file.  By default `gcj' will warn
     about this.

`-Wunused'
     This is the same as `gcc''s `-Wunused'.

`-Wall'
     This is the same as `-Wredundant-modifiers -Wextraneous-semicolon
     -Wunused'.


automatically generated by info2www version 1.2.2.9