gcc960 Compiler Driver
2-55
2
Wmissing-prototypes Warn when a global function is defined without a
previous prototype declaration. This warning is
issued even when the definition itself provides a
prototype. The aim is to detect global functions
that are not declared in header files.
Wnested-externs Warn when an extern declaration is
encountered within a function.
Wparentheses Warn when parentheses are suggested around an
expression.
Wpointer-arith Warn about anything that depends on the size of
a function type or of
void. gcc960 assigns these
types a size of 1, for convenience in calculations
with
void* pointers and pointers to functions.
Wredundant-decls Warn when anything is declared more than once
in the same scope, even in cases where multiple
declaration is valid and changes nothing.
Wreturn-type Warn whenever a function is defined whose
return-type defaults to
int. Also warn about any
return statement with no return-value in a
function whose return-type is not
void.
Wswitch Warn whenever a switch statement has an
enumeral type index and lacks a
case for one or
more of the named codes of that enumeration.
Wshadow Warn whenever a local variable shadows another
local variable.