Intel® C++ Compiler XE 13.1 User and Reference Guides
Tells the compiler to conform to a specific language standard.
Windows: Language > Enable C++0x Support
Language > Enable C99 Support
Linux: Language > ANSI Conformance
OS X: Language > C ANSI Conformance
All
Linux and OS X: | -std=val |
Windows: | /Qstd=val |
val |
Specifies the specific language standard to conform to. Possible values are:
|
-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 |
OFF. Note that a subset of C++11 features is enabled by default for compatibility with a particular version of Microsoft Visual Studio* C++, so you only need to specify /Qstd=c++0x if you want additional C++11 functionality beyond what Microsoft provides. |
This option tells the compiler to conform to a specific language standard.
On Windows* OS, you can only specify values c99 and c++0x.
None