LANGLVL

Specifies which group of library function prototypes are included when the source is compiled. When no LANGLVL is specified, the language level defaults to *EXTENDED.

Read syntax diagramSkip visual syntax diagramLANGLVL Syntax:
 
|--+-------------------------------+----------------------------|
   |           .-*EXTENDED----.    |
   '-LANGLVL(--+-*ANSI--------+--)-'
               |         (1)  |
               '-*LEGACY------'
 

Notes:
  1. C++ compiler only

*EXTENDED
Default setting. Defines the preprocessor variable __EXTENDED__ and undefines other language-level variables. ISO standard C and C++, and the IBM® language extensions and system-specific features are available. This parameter should be used when all the functions of ILE C or C++ are to be available.
*ANSI
Defines the preprocessor variables __ANSI__ and __STDC__ for C and C++ compilations, __cplusplus98__interface__ for C++ compilations only, and undefines other language-level variables. Only ISO standard C and C++ is available.
*LEGACY Applies to C++ compilations
Undefines other language-level variables. Allow constructs compatible with older levels of the C++ language.


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