-lang [V1.06 or later]


This option specifies the language standard of the C source file.

[Specification format]

-lang={c|c99}

 

-

Interpretation when omitted

Compilation is executed in accord with the C90 standard.

[Detailed description]

-

This option specifies the language standard of the C source file.

-

When the -lang=c option is specified or the option is omitted, compilation is executed in accord with the C90 standard.

-

When the -lang=c99 option is specified, compilation is executed in accord with the C99 standard.

-

If any option other than -lang=c or -lang=c99 is specified, an error will occur.

[Remark]

-

This compiler does not support the following language standards.

-

Some header files and standard library functions in the C90/C99 language standard

-

Complex number types in the C99 language standard

-

Variable-length arrays in the C99 language standard