LANGLVL
Specifies which group of language features are included when the
source is compiled. When no LANGLVL is specified, the language level
defaults to *EXTENDED.
- *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
- Undefines other language-level variables. Allow constructs compatible with older levels of the C++ language.
- *EXTENDED0X
- Defines the same preprocessor variables as *EXTENDED does, and also defines an individual preprocessor variable for each C++11 language feature supported in this release. This option causes the compiler to use all the capabilities of ILE C++ and currently supported C++11 features that are implemented in this version of ILE C++ compiler. See “Extensions for C++0x compatibility” in ILE C/C++ Language Reference.