ILE C/C++ Compiler Reference
Specifies options you may select to generate informational messages
that indicate possible programming errors. When you specify an option
more than once, or when two options conflict, the last one that is
specified is used.
Note:
CHECKOUT may produce many messages.
To prevent these messages from going to the job log specify OPTION(*NOLOGMSG)
and the source listing option OUTPUT(*PRINT).

CHECKOUT Syntax:
|--+------------------------------------+-----------------------|
'-CHECKOUT(--| CHECKOUT Details |--)-'
CHECKOUT Details:
(1)
.-*NONE--. .-*NOCLASS------. .-*NOCOND-.
|--+--------+--+---------------+--+---------+------------------->
+-*ALL---+ | (1) | '-*COND---'
'-*USAGE-' '-*CLASS--------'
(2) (2)
.-*NOCONST------. .-*NOEFFECT-. .-*NOENUM------.
>--+---------------+--+-----------+--+--------------+----------->
| (2) | '-*EFFECT---' | (2) |
'-*CONST--------' '-*ENUM--------'
(2) (2)
.-*NOEXTERN------. .-*NOGENERAL-. .-*NOGOTO------.
>--+----------------+--+------------+--+--------------+--------->
| (2) | '-*GENERAL---' | (2) |
'-*EXTERN--------' '-*GOTO--------'
(2) (1)
.-*NOINIT------. .-*NOLANG------. .-*NOPARM-.
>--+--------------+--+--------------+--+---------+-------------->
| (2) | | (1) | '-*PARM---'
'-*INIT--------' '-*LANG--------'
(2) (2)
.-*NOPORT-. .-*NOPPCHECK------. .-*NOPPTRACE------.
>--+---------+--+-----------------+--+-----------------+-------->
'-*PORT---' | (2) | | (2) |
'-*PPCHECK--------' '-*PPTRACE--------'
(1)
.-*NOREACH-. .-*NOTEMP------. .-*NOTRUNC-.
>--+----------+--+--------------+--+----------+----------------->
'-*REACH---' | (1) | '-*TRUNC---'
'-*TEMP--------'
.-*NOUNUSED-.
>--+-----------+------------------------------------------------|
'-*UNUSED---'
Notes:
- C++ compiler only
- C compiler only
The possible options are:
- *NONE
- Default setting. Disables all of the options for CHECKOUT.
- *ALL
- Enables all of the options for CHECKOUT.
- *USAGE
-
-
Equivalent to specifying *ENUM, *EXTERN, *INIT, *PARM, *PORT, *GENERAL,
and *TRUNC. All other CHECKOUT options are disabled.
-
Equivalent to specifying *COND.
All other CHECKOUT options are disabled.
- *NOCLASS

- Default setting. Does not display info about class use.
- *CLASS

- Display info about class use.
- *NOCOND
- Default setting. Does not warn about possible redundancies or
problems in conditional expressions.
- *COND
- Warn about possible redundancies or problems in conditional
expressions.
- *NOCONST

- Default setting. Does not warn about operations involving constants.
- *CONST

- Warn about operations involving constants.
- *NOEFFECT
- Default setting. Does not warn about statements with no effect.
- *EFFECT
- Warn about statements with no effect.
- *NOENUM

- Default setting. Does not list the usage of enumerations.
- *ENUM

- Lists the usage of enumerations.
- *NOEXTERN

- Default setting. Does not list the unused variables that have
external declarations.
- *EXTERN

- Lists the unused variables that have external declarations.
- *NOGENERAL
- Default setting. Does not list the general CHECKOUT messages.
- *GENERAL
- Lists the general CHECKOUT messages.
- *NOGOTO

- Default setting. Does not list the occurrence and usage of goto
statements.
- *GOTO

- Lists the occurrence and usage of goto statements.
- *NOINIT

- Default setting. Does not list the automatic variables that
are not explicitly initialized.
- *INIT

- Lists the automatic variables that are not explicitly initialized.
- *NOLANG

- Default setting. Does not display information about the effects
of the language level.
- *LANG

- Display information about the effects of the language level.
- *NOPARM
- Default setting. Does not list the function parameters that
are not used.
- *PARM
- Lists the function parameters that are not used.
- *NOPORT
- Default setting. Does not list the non-portable usage of the
C or C++ language.
- *PORT
- Lists the non-portable usage of the C or C++ language.
- *NOPPCHECK
- Default setting. Does not list the preprocessor directives.
- *PPCHECK
- Lists all preprocessor directives.
- *NOPPTRACE

- Default setting. Does not list the tracing of include files
by the preprocessor.
- *PPTRACE

- Lists the tracing of include files by the preprocessor.
- *NOREACH
- Default setting. Does not warn about unreachable statements.
- *REACH
- Warn about unreachable statements.
- *NOTEMP
- Default setting. Does not display information about temporary
variables.
- *TEMP
- Display information about temporary variables.
- *NOTRUNC
- Default setting. Does not warn about the possible truncation
or loss of data.
- *TRUNC
- Warn about the possible truncation or loss of data.
- *NOUNUSED
- Default setting. Does not check for unused auto or static variables.
- *UNUSED
- Check for unused auto or static variables.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]