Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

General features of the C/C++ compiler

&pagelevel(3)&pagelevel

Supported C and C++ language standards

The following C and C++ standards are supported by the C/C++ compiler:

  • ANSI/ISO C with the ISO C Addendum 1 (1994), also called C89

  • ISO/IEC C (2011), also called C11
  • ISO/IEC C++ (2017), also called C++ 2017
  • ISO/IEC C++ (2020), also called C++ 2020

Compatibility

The following language modes are offered by the compiler to enable the migration or porting of older C and C++ applications:

  • Kernighan&Ritchie C,
  • Cfront C++ V3.0.3, also called C++ V2
  • the version of C++ offered by C/C++ V3.2 also called C++ V3

  • the preprocessor dialect based on Reiser cpp and Johnson pcc

Portable software

To develop portable software, the compiler also supports “strict” C and C++ modes. All deviations from the corresponding language standards are diagnosed in these modes.