Option Type | Default Value | #pragma options | C | C++ |
-flag | See below. | - | x | x |
Syntax
-w
Purpose
Requests that warnings and lower-level messages be suppressed.
Specifying this option is equivalent to specifying -qflag=e:e.
Example
To compile myprogram.c so that no warning messages are displayed,
enter:
xlC myprogram.c -w
List of Compiler Options and Their
Defaults
Options that Specify Compiler Output