ILE C/C++ Compiler Reference

PPGENOPT

Valid only with the CRTCMOD or CRTCPPMOD commands. Lets you specify outputs generated by the preprocessor.

|--+-----------------------------------------------------+------|
   |            .-*NONE-----------------------------.    |
   '-PPGENOPT(--+-----------------------------------+--)-'
                +-*DFT------------------------------+
                |                    .-*GENLINE---. |
                +-+-*RMVCOMMENT---+--+------------+-+
                | '-*NORMVCOMMENT-'  '-*NOGENLINE-' |
                |                 .-*RMVCOMMENT---. |
                '-+-*GENLINE---+--+---------------+-'
                  '-*NOGENLINE-'  '-*NORMVCOMMENT-'
 
 

*NONE
Default setting. No outputs are generated by the preprocessor. Selecting this option disables the PPSRCFILE, PPSRCMBR, and PPSRCSTMF options.
*DFT
Equivalent to specifying PPGENOPT(*RMVCOMMENT *GENLINE).
*RMVCOMMENT
Preserves comments during preprocessing.
*NORMVCOMMENT
Does not preserve comments during preprocessing.
*NOGENLINE
Suppresses #line directives in the preprocessor output.
*GENLINE
Produces #line directives in the preprocessor output.
Notes:
  1. Specifying the PPGENOPT compiler option with any setting other than *NONE forces the input of either of the following:
    • PPSRCFILE and PPSRCMBR
    • PPSRCSTMF and SRCSTMF
  2. Specifying PPGENOPT with any setting other than *NONE overrides the OPTION(*NOPPONLY) and OPTION(*GEN) option settings.
  3. Specifying OPTION(*PPONLY) overrides the PPGENOPT(*NONE) and OPTION(*GEN) option settings. Instead, the following settings are implied:
    • PPGENOPT(*DFT) PPSRCFILE(QTEMP/QACZEXPAND) PPSRCMBR(*MODULE) for a data management source file.
    • PPGENOPT(*DFT) PPSRCSTMF(*SRCSTMF) for an IFS source file.
  4. The PPGENOPT compiler option is ignored if the TGTRLS compiler option specifies a target release earlier than V5R1M0.


[ Top of Page | Previous Page | Next Page | Table of Contents ]