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 specific language standard to conform to. The following values apply to Linux* -std and Windows* /Qstd:
The following values apply only to Linux -std:
For possible values for Microsoft*-compatible Windows* /std, see the Microsoft* documentation. |
Default
Default for Windows: |
The compiler conforms to the 2014 ISO C++ standard. For SYCL programs, it conforms to the 2017 ISO C++ standard. |
Default for Linux: |
The compiler conforms to the 2017 ISO C++ standard. This is true also for SYCL programs. |
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