The options in Table 1 allow you to detect and correct problems in your source code. In some cases, these options can alter your object code, increase your compile time, or introduce runtime checking that can slow down the execution of your application. The option descriptions indicate how extra checking can impact performance.
To control the amount and type of information you receive regarding the behavior and performance of your application, consult the Listings, messages, and compiler information options section.
Option | Description | C Compile | C++ Compile | IPA Link | More Information |
---|---|---|---|---|---|
CHECKOUT | Produces informational messages for possible programming errors. | ✓ | ✓ | See detail | |
DEBUG | Instructs the compiler to generate debug information. | ✓ | ✓ | See detail | |
EVENTS | Produces an event file that contains error information and source file statistics. | ✓ | ✓ | ✓ | See detail |
GONUMBER | Generates line number tables that correspond to the input source file for Debug Tool and CEEDUMP processing. | ✓ | ✓ | ✓ | See detail |
HALT | Stops compilation before producing any object, executable, or assembler source files if the maximum severity of compile-time messages equals or exceeds the severity specified for this option. | ✓ | ✓ | ✓ | See detail |
HALTONMSG | Stops compilation before producing any object, executable, or assembler source files if a specified error message is generated. | ✓ | ✓ | ✓ | See detail |
INFO | Produces groups of informational messages. | ✓ | ✓ | See detail | |
INITAUTO | Initializes automatic variables to a specific value for debugging purposes. | ✓ | ✓ | ✓ | See detail |
RTCHECK | Generates compare-and-trap code that performs certain types of runtime checking. | ✓ | ✓ | ✓ | See detail |
SERVICE | Places a string in the object module, which is displayed in the traceback if the application fails abnormally. | ✓ | ✓ | ✓ | See detail |
TEST | Generates information that Debug Tool needs to debug your program. | ✓ | ✓ | ✓ | See detail |
WARN64 | Generates diagnostic messages, which enable checking for possible data conversion problems between 32-bit and 64-bit compiler modes. | ✓ | ✓ | ✓ | See detail |
WARN0X (C++ only) | Generates messages about differences caused by the migration from C++98 standard to C++11 standard. | ✓ | See detail |