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.
Linux: |
-std=val |
Windows: |
/Qstd:val /std:val (For Microsoft* compatibility) |
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 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. |
This option tells the compiler to conform to a specific language standard.
Visual Studio: Language > C/C++ Language Support
Eclipse: Language > ANSI Conformance
None