showinc

Applies to C Applies to C++

Purpose

Used with -qsource to selectively show user header files (includes using " ") or system header files (includes using < >) in the program source listing.

Syntax


Syntax Diagram

where options are:


noshowinc Do not show user or system include files in the program source listing. This is the same as specifying -qshowinc=nousr:nosys.
showinc Show both user and system include files in the program source listing. This is the same as specifying -qshowinc=usr:sys or -qshowinc=all.
all Show both user and system include files in the program source listing. This is the same as specifying -qshowinc or -qshowinc=usr:sys.
usr Show user include files in the program source listing.
sys Show system include files in the program source listing.

See also #pragma options.

Notes

This option has effect only when the -qlist or -qsource compiler options are in effect.

Example

To compile myprogram.C so that all included files appear in the source listing, enter:

xlc++ myprogram.C -qsource -qshowinc

Related References

Compiler Command Line Options
source
#pragma options IBM Copyright 2003