You copied the Doc URL to your clipboard.

Standard C and Standard C++ language extensions

The compiler supports numerous extensions to both the ISO C99 and the ISO C++ Standards, such as various integral type extensions, various floating-point extensions, hexadecimal floating-point constants, and anonymous classes, structures, and unions.

These extensions are available if:

  • The source language is C++ and you are compiling in nonstrict mode.

  • The source language is C99 and you are compiling in nonstrict mode.

  • The source language is C90 and you are compiling in nonstrict mode.

These extensions are not available if:

  • The source language is C++ and the compiler is restricted to compiling strict C++ using the --strict compiler option.

  • The source language is C99 and the compiler is restricted to compiling strict Standard C using the --strict compiler option.

  • The source language is C90 and the compiler is restricted to compiling strict C90 using the --strict compiler option.