Prevents the specified compiler or driver informational or warning messages from being displayed or added to the listings.
>>- -q--+-suppress--+----------------+------+------------------>< | | .-:-------. | | | | V | | | | '-=----msg_num-+-' | | (1) | +--------nosuppress-----------------+ | .-:-------. | | (2) V | | '--------nosuppress--=----msg_num-+-'
This option suppresses compiler messages only, and has no effect on linker or operating system messages.
To suppress IPA messages, enter -qsuppress before -qipa on the command line.
Compiler messages that cause compilation to stop, such as (S) and (U) level messages cannot be suppressed.
The -qnosuppress compiler option cancels previous settings of -qsuppress.
If your program normally results in the following output:
"myprogram.C", line 1.1:1506-224 (I) Incorrect #pragma ignored
you can suppress the message by compiling with:
xlc++ myprogram.C -qsuppress=1506-224
Related information