info

Option Type Default Value #pragma options C C++
-qoption noinfo INFO x x

Syntax

    -qinfo | -qinfo=all | -qinfo=suboption[:suboption ...] | -qnoinfo 
    INFO |  INFO=ALL | INFO=suboption[:suboption ...] | INFO=RESET | NOINFO 

Purpose
Produces informational messages.

Notes
Specifying -qinfo or -qinfo=all turns on all diagnostic messages for all groups except for the ppt (preprocessor trace) group in C++ code.

Specifying -qnoinfo turns off all diagnostic messages.

You can use the #pragma options info=suboption[:suboption ...] or #pragma options noinfo forms of this compiler option to temporarily enable or disable messages in a particular section of program code, and #pragma options info=reset to return to your initial -qinfo settings.

Available forms of the -qinfo option are:

all Turns on all diagnostic messages for all groups.

Note: The -qinfo and -qinfo=all forms of the option have the same effect.
The -qinfo=all option does not include the ppt group (preprocessor trace).

noinfo Turns off all diagnostic messages for specific portions of your program.
 private Lists shared variables made private to a parallel loop.
 reduction Lists all variables that are recognized as reduction variables inside a parallel loop.
group Turns on or off specific groups of messages, where group can be one or more of:
group Type of messages returned or suppressed
cls|nocls Classes
cmp|nocmp Possible redundancies in unsigned comparisons
cnd|nocnd Possible redundancies or problems in conditional expressions
cns|nocns Operations involving constants
cnv|nocnv Conversions
dcl|nodcl Consistency of declarations
eff|noeff Statements with no effect
enu|noenu Consistency of enum variables
ext|noext Unused external definitions
gen|nogen General diagnostic messages
gnr|nognr Generation of temporary variables
got|nogot Use of goto statements
ini|noini Possible problems with initialization
inl|noinl Functions not inlined
lan|nolan Language level effects
obs|noobs Obsolete features
ord|noord Unspecified order of evaluation
par|nopar Unused parameters
por|nopor Nonportable language constructs
ppc|noppc Possible problems with using the preprocessor
ppt|npppt Trace of preprocessor actions
pro|nopro Missing function prototypes
rea|norea Code that cannot be reached
ret|noret Consistency of return statements
trd|notrd Possible truncation or loss of data or precision
tru|notru Variable names truncated by the compiler
uni|nouni Unitialized variables
use|nouse Unused auto and static variables
vft|novft Generation of virtual function tables

Example
To compile myprogram.C to produce informational message about all items except conversions and unreached statements, enter:

xlC myprogram.C -qinfo=all -qinfo=nocnv:norea


List of Batch Compiler Options and Their Defaults
Options that Specify Compiler Output
#pragma info Preprocessor Directive
Equivalent Batch Compile-Link and Incremental Build Options