Listings, messages, and compiler information options

The options in Table 1 allow you to control the listing file, as well as how and when to display compiler messages. You can use these options in conjunction with those in the Error-checking and debugging options section to provide a more robust overview of your application when checking for errors and unexpected behavior.

Table 1. Listings, messages, and compiler information options
Option Description C Compile C++ Compile IPA Link More Information
AGGREGATE Lists structures and unions, and their sizes.   See detail
ATTRIBUTE Produces a compiler listing that includes the attribute component of the attribute and cross-reference section of the listing.   See detail
EXPMAC Lists all expanded macros in the source listing. See detail
FLAG Limits the diagnostic messages to those of a specified level or higher. See detail
INLRPT Generates a report on the status of inlined functions. See detail
LIST Produces a compiler listing file that includes a pseudo assembly listing. See detail
OFFSET Lists offset addresses relative to entry points of functions. See detail
PHASEID Causes each compiler component (phase) to issue an informational message as each phase begins execution, which assists you with determining the maintenance level of each compiler component (phase). This message identifies the compiler phase module name, product identification, and build level. See detail
REPORT Produces pseudo-C code listing files that show how sections of code have been optimized. See detail
SEVERITY Changes the default severity for certain messages that the user has specified, if these messages are generated by the compiler.     See detail
SHOWINC When used with the SOURCE option to generate a listing file, selectively shows user or system header files in the source section of the listing file. See detail
SKIPSRC Controls whether or not source statements skipped by the compiler are shown in the listing, when the -qsource option is in effect.

See detail

SOURCE Produces a compiler listing file that includes the source section of the listing. See detail
SPLITLIST Enables the z/OS® XL C/C++ compiler to write the IPA Link phase listing to multiple PDS members, PDSE members, or z/OS UNIX files. See detail
SUPPRESS Prevents specific informational or warning messages from being displayed or added to the listing file, if one is generated. See detail
TERMINAL Directs diagnostic messages to be displayed on the terminal. See detail
XREF Produces a compiler listing that includes a cross-reference listing of all identifiers. See detail