Option Type | Default Value | #pragma options | C | C++ |
-flag | - | - | 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 Batch Compiler Options and Their Defaults
Options that Specify Compiler Output
Equivalent Batch Compile-Link and Incremental
Build Options