ic960 Compiler Driver
3-69
3
w (Diagnostic-level)
Controls listing or
display of diagnostic
messages.
w
level
level
is the level of diagnostic messages to be listed or
displayed; can be
0, 1, or 2.
Default
The compiler displays error and major warning messages; that is,
level
is 1.
Discussion
Use the w (Diagnostic-level) option to suppress the warning messages that
highlight legal but questionable uses of C. Unlike errors, uses of C that
result in warning messages do not prevent the compiler from completing
the translation and linking process.
To choose the level of diagnostic messages, use one of the following for
the
level
argument:
0 to enable all warning and error messages
1 to enable major warning and error messages,
suppressing only minor warning messages
2 to enable only error messages, suppressing
warning messages
The
a (ANSI) option always overrides the w2 option, forcing the compiler
to list or display warning messages.