Used with -qsource to selectively show user header files (includes using " ") or system header files (includes using < >) in the program source listing.
.-noshowinc-------------------------------. >>- -q--+-showinc--+----------------------------+-+------------>< | .-:---------------. | | V | | '-=------+-all---------+-+---' +-+----+--usr-+ | '-no-' | '-+----+--sys-' '-no-'
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.
This option has effect only when the -qlist or -qsource compiler options are in effect.
To compile myprogram.C so that all included files appear in the source listing, enter:
xlc++ myprogram.C -qsource -qshowinc
Related information