Option Type | Default Value | #pragma options | C | C++ |
-qoption | noattr | ATTR | x | x |
Syntax
-qattr | -qattr=full | -qnoattr ATTR | ATTR=FULL | NOATTR
Purpose
Produces a compiler listing that includes an attribute listing for all identifiers.
Notes
-qattr=full | Reports all identifiers in the program. |
-qattr | Reports only those identifiers that are used. |
This option does not produce a cross-reference listing unless you also specify -qxref.
The -qnoprint option overrides this option.
If -qattr is specified after -qattr=full, it has no effect. The full listing is produced.
Example
To compile the program myprogram.c and produce a compiler
listing of all identifiers, enter:
xlC myprogram.c -qxref -qattr=full
A typical cross-reference listing has the form:
List of Compiler Options and Their Defaults Options that Specify Compiler Output