Visible to Intel only — GUID: GUID-080E90C8-1199-4A0D-8715-3BD04E7BBE08
Visible to Intel only — GUID: GUID-080E90C8-1199-4A0D-8715-3BD04E7BBE08
std, Qstd
Tells the compiler to conform to a specific language standard.
Syntax
Linux: |
-std=val |
Windows: |
/Qstd:val /std:val (for Microsoft* compatibility) |
Arguments
val |
Specifies the language standard to conform to. On Windows*, option /Qstd supports more values than option /std supports. Option /std complies with the values permitted by Microsoft option /std. For the latest information about Microsoft option/std, see the Microsoft documentation. The following values can be specified for both Linux* and Windows*:
The following value can be specified on Windows for option /std only:
The following values can only be specified for Linux:
|
Default
c++17 or c17 |
For C++, the compiler conforms to the 2017 ISO C++ standard. For C, the compiler conforms to the 2017 ISO C standard. |
Description
This option tells the compiler to conform to a specific language standard.
IDE Equivalent
Visual Studio: Language > C/C++ Language Support
Eclipse: Language > ANSI Conformance
Alternate Options
None