| Syntax: | Default: |
| /S[a|c|e|2] | /Se |
Use /S to set the language level.
You can set the following language levels:
| /Sa | Conform to ANSI standards. |
| /Sc | This option is not valid for C files. |
| /Se | Allow all IBM C and C++ Compilers language constructs. This is the default. |
| /S2 | This option is valid only for C files. |
By default, the compiler allows all IBM C and C++ Compilers language extensions.
![]()
Set the Source Code Language
Level
![]()
Summary of Compiler Options
Language-Dependent Options
Description of the Language Levels