-qattr
Pragma equivalent
#pragma options [no]attr
Purpose
Produces a compiler listing that includes the attribute component of the attribute and cross-reference section of the listing.
Syntax
.-noattr------------. >>- -q--+-attr--+---------+-+---------------------------------->< '-=--full-'
Defaults
-qnoattr
Parameters
- full
- Reports all identifiers in the program. If you specify attr without this suboption, only those identifiers that are used are reported.
Usage
If -qattr is specified after -qattr=full, it has no effect; the full listing is produced.
This option does not produce a cross-reference listing unless you also specify -qxref.
The -qnoprint option overrides this option.
Predefined macros
None.
Examples
To compile the program myprogram.c and
produce a compiler listing of all identifiers, enter:
xlc myprogram.c -qxref -qattr=full



