ic960 Compiler Driver
3-67
3
W (Warnings)
Enable or disable a
warning.
W [no-]
arg
The W [no-]
arg
option allows more fine-grained control over diagnostics
than
w
level
.
arg
is any of:
aggregate-return warn if any functions return structures or unions.
all enable several useful warnings. Has no Wno-all
form.
cast-align warn if a pointer cast may not have the required
alignment.
cast-qual warn if a pointer cast removes a type qualifier.
char-subscripts warn if an array variable has type char.
comment warn whenever /* occurs in a comment.
conversion warn if a prototyped parameter causes a different
conversion from the conversion that would take
place if the parameter were not prototyped.
error treat all warnings as errors.
format check arguments of printf-family arguments at
compile time.
id-clash-
n
warn if two identifiers match in the first
n
characters.
implicit warn if a function is used before it is declared.
missing-braces warn if an aggregate initializer is not fully
enclosed in braces.