Everything

 

-lang [V1.07.00 or later]


This option specifies the language standard.

[Specification format]

-lang={c|c99}

 

-

Interpretation when omitted

Compilation is performed according to the C90 standard.

[Detailed description]

-

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

-

If the -lang=c option is specified or this option is omitted, compilation is performed according to the C90 standard.

-

If the -lang=c99 option is specified, compilation is performed according to the C99 standard.

-

If a value other than c or c99 is specified, an error will occur.

[Remark]

-

This compiler does not support a part of language standards.

-

Some 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