The following C99 features are supported by Intel(R) C++ compiler that comes with Intel® C++ Composer XE 2011 or 2013, Intel® Parallel Studio XE 2015 Composer Edition for C++, and Intel Parallel Composer 2011.
The option to turn on C99 support:
- /Qstd=c99 on Windows*
- -std=c99 on Linux* and Mac* OS X*
- The default is C89 instead
The following C99 features are supported:
- restricted pointers (restrict keyword)
- variable-length Arrays
- flexible array members
- complex number support (_Complex keyword)
- hexadecimal floating-point constants
- compound literals
- designated initializers
- mixed declarations and code
- macros with a variable number of arguments
- inline functions (inline keyword)
- boolean type (_Bool keyword)
See C11 Features Supported by Intel(R) C++ compiler for supported C11 (C1x) features.
See C++0x Features Supported by Intel® C++ Compiler for supported C++0x features.
Design-Zone:
IDZone