Listings, messages, and compiler information

The options in the following table allow you control over the listing file, as well as how and when to display compiler messages. You can use these options in conjunction with those described in Error checking and debugging to provide a more robust overview of your application when checking for errors and unexpected behavior.
Table 1. Listings and messages options
Option name @PROCESS directive Description
-qattr ATTR

Produces a compiler listing that includes the attribute component of the attribute and cross-reference section of the listing.

-qflag FLAG

Limits the diagnostic messages to those of a specified severity level or higher.

-qhelp None.

Displays the man page of the compiler.

-qlist LIST

Produces a compiler listing file that includes an object listing.

-qlistfmt None.

Creates an XML or HTML report to assist with finding optimization opportunities.

-qlistopt None.

Produces a compiler listing file that includes all options in effect at the time of compiler invocation.

-qmaxerr MAXERR

Stops compilation when the number of error messages of a specified severity level or higher reaches a specified number.

-qphsinfo PHSINFO

Reports the time taken in each compilation phase to standard output.

-qnoprint None.

Prevents the compiler from creating the listing file, regardless of the settings of other listing options.

-qreport None.

Produces listing files that show how sections of code have been optimized.

-qsource SOURCE

Produces a compiler listing file that includes the source section of the listing and provides additional source information when printing error messages.

-qsuppress None.

Prevents specific informational or warning messages from being displayed or added to the listing file, if one is generated.

-qversion None.

Displays the version and release of the compiler being invoked.

-V None.

The same as -v except that you can cut and paste directly from the display to create a command.

-v None.

Reports the progress of compilation, by naming the programs being invoked and the options being specified to each program.

-w None.

Suppresses informational, language-level and warning messages (equivalent to -qflag=e:e).

-qxref XREF

Produces a compiler listing that includes the cross-reference component of the attribute and cross-reference section of the listing.