www.delorie.com/gnu/docs/gcc/gcj_10.html   search  
 
Buy the book!


Guide to GNU gcj

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.4 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.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003