| July 7, 2009 12:00 AM PDT | |
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.
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.
Do you need more help?
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
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (0) 
Trackbacks (0)
Leave a comment 
To obtain technical support, please go to Software Support.

