Diagnostic Panel

Options on this panel define what error and debugging informational messages indicating possible programming errors are produced by the compiler.

See General Dialog Help for information on *CMDDFT settings and pushbutton help.

Note:
These options may produce many messages. To prevent these messages from going to the job log, specify the following options:

Checkout options

Checkout options
Enables or disables groups of checkout options. You can select one of the following values in this field:

*CMDDFT
Uses the checkout options currently set as default for your system.

*NONE
Disables all checkout options.

*USAGE
Equivalent to individually selecting the following checkout options, described further below:
  • Long value assignments
  • Enumerations
  • Unused variables with external declarations
  • General messages
  • Automatic variables not explicitly initialized
  • Unused function parameters
  • Non-portable usage

*ALL
Enables all checkout options.

You can also use the three-state checkboxes to set individual checkout options. An option is enabled if its checkbox is selected, and disabled if its checkbox is not selected. If a checkbox is gray-selected, that option is set according to the default setting defined for your system.

Redundancies in conditional expressions
If this checkbox is selected, the compiler warns of redundancies in conditional expressions.

Operations involving constants
If this checkbox is selected, the compiler warns of operations involving constants.

Statements with no effect
If this checkbox is selected, the compiler warns of statements that have no effect.

Enumerations
If this checkbox is selected, the compiler lists usage of enumerations.

Unused variables with external declarations
If this checkbox is selected, the compiler lists unused variables that have external declarations.

General messages
If this checkbox is selected, the compiler lists general CHECKOUT messages.

Goto statements
If this checkbox is selected, the compiler lists occurrences and usage of goto statements.

Automatic variables not explicitly initialized
If this checkbox is selected, the compiler lists automatic variables that are not explicitly initialized.

Unused function parameters
If this checkbox is selected, the compiler lists unused function parameters.

Non-portable usage
If this checkbox is selected, the compiler lists non-portable usage of the programming language.

Preprocessor directives
If this checkbox is selected, the compiler lists all preprocessor directives.

Tracing of preprocessor actions
If this checkbox is selected, the compiler lists a tracing of include files by the preprocessor.

Unreachable statements
If this checkbox is selected, the compiler warns of unreachable statements.

Truncation
If this checkbox is selected, the compiler warns about truncation and the possible loss of data.

Unused automatic or static variables
If this checkbox is selected, the compiler checks for unused auto or static variables.