Produces a compiler listing that includes a cross-reference listing of all identifiers.


Read syntax diagramSkip visual syntax diagram        .-noxref----------.
>>- -q--+-xref--+-------+-+------------------------------------><


noxref Do not report identifiers in the program.
xref Reports only those identifiers that are used.
xref=full Reports all identifiers in the program.

See also #pragma options.


The -qnoprint option overrides this option.

Any function defined with the #pragma mc_func function_name directive is listed as being defined on the line of the #pragma directive.


To compile myprogram.C and produce a cross-reference listing of all identifiers whether they are used or not, enter:

xlc++ myprogram.C -qxref=full -qattr

A typical cross-reference listing has the form:

Related information