Intel® C++ Compiler 16.0 User and Reference Guide
Tells the compiler to conform to a specific language standard.
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.
Visual Studio: Language > Enable C++0x Support
Language > Enable C99 Support
Eclipse: Language > ANSI Conformance
Xcode: Language > C Language Dialect and C++ Language Dialect
None