Specifies the minimum severity level of diagnostic messages to be reported in a listing and displayed on a terminal. The diagnostic messages display with their associated sub-messages.
Syntax Notes:
- Minimum severity level messages reported in listing
- Minimum severity level messages reported on terminal
where message severity levels are:
severity Description i Information w Warning e Error s Severe error u Unrecoverable error
See also #pragma options.
You must specify a minimum message severity level for both listing and terminal reporting.
Specifying informational message levels does not turn on the -qinfo option.
To compile myprogram.C so that the listing shows all messages that were generated and your workstation displays only error and higher messages (with their associated information messages to aid in fixing the errors), enter:
xlc++ myprogram.C -qflag=i:e
Compiler Command Line Options
info
w
#pragma options
Compiler Messages