ILE C/C++ Compiler Reference

CHECKOUT

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(--| 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:

  1. C++ compiler only

  2. 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
*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 Applies to C compilations
Default setting. Does not warn about operations involving constants.
*CONST Applies to C compilations
Warn about operations involving constants.
*NOEFFECT
Default setting. Does not warn about statements with no effect.
*EFFECT
Warn about statements with no effect.
*NOENUM Applies to C compilations
Default setting. Does not list the usage of enumerations.
*ENUM Applies to C compilations
Lists the usage of enumerations.
*NOEXTERN Applies to C compilations
Default setting. Does not list the unused variables that have external declarations.
*EXTERN Applies to C compilations
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 Applies to C compilations
Default setting. Does not list the occurrence and usage of goto statements.
*GOTO Applies to C compilations
Lists the occurrence and usage of goto statements.
*NOINIT Applies to C compilations
Default setting. Does not list the automatic variables that are not explicitly initialized.
*INIT Applies to C compilations
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 Applies to C compilations
Default setting. Does not list the preprocessor directives.
*PPCHECK Applies to C compilations
Lists all preprocessor directives.
*NOPPTRACE Applies to C compilations
Default setting. Does not list the tracing of include files by the preprocessor.
*PPTRACE Applies to C compilations
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 | Table of Contents ]