ISO/IEC Standards language conformance for Intel C++ compiler

Submit New Article

Last Modified On :   June 4, 2009 3:01 AM PDT
Rate
 


The Intel C++ compiler option /Qstd=val or –std=val could be used to get the specific version of ISO/IEC standards language conformance for the compiler.

The possible values are for “val” are given below:

c89 - Conforms to the ISO/IEC 9899:1990 International Standard.

c99 - Conforms to The ISO/IEC 9899:1999 International Standard.

gnu89 - Conforms to ISO C90 plus GNU* extensions.

gnu++98 - Conforms to the 1998 ISO C++ standard plus GNU extensions.

c++0x - Enable support for the following C++0x features. Please refer to Intel C++ compiler documentation for details.

The default for Intel C++ compiler 11.0 are as given below:

-std=gnu89 - default for C, Conforms to ISO C90 plus GNU extensions.
-std=gnu++98 - default for C++, Conforms to the 1998 ISO C++ standard plus GNU* extensions.
/Qstd=c89 - Conforms to the ISO/IEC 9899:1990 International Standard.





This article applies to: Intel C++ Compiler and Performance Library for QNX* Neutrino* RTOS Knowledge Base,   Intel® C++ Compiler for Linux* Knowledge Base,   Intel® C++ Compiler for Mac OS X* Knowledge Base,   Intel® C++ Compiler for Windows* Knowledge Base,   Intel® Parallel Composer Knowledge Base