#pragma options flag
Limits the diagnostic messages to those of a specified severity level or higher.
The messages are written to standard output and, optionally, to the listing file if one is generated.
-qflag syntax – C (1) (2) .-------i-. .-------i-. >>- -qflag--=--+-w-------+--:--+-w-------+--------------------->< +-e-------+ +-e-------+ '-s-------' '-s-------'
-qflag=i : i, which shows all compiler messages
You must specify a minimum message severity level for both listing and terminal reporting.
Note that using -qflag does not enable the classes of informational message controlled by the -qinfo option; see -qinfo for more information.
The -qhaltonmsg option has precedence over the -qflag option. If both -qhaltonmsg and -qflag are specified, messages that are not selected by -qflag are also printed.
None.
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