Commit e3e2e174 authored by Brad King's avatar Brad King
Browse files

VS: Populate Intel -Qstd=c++{14,17} flag table entries

Map them to the `.vcxproj` file `LanguageStandard` setting to quiet our
warning about the setting's default with the Intel toolset in cases that
the project really compiles as C++{14,17}.  This will convert the flags
to `-std:c++{14,17}` but they should be equivalent.

Issue: #19691
parent 8f8ea243
Pipeline #146210 passed with stage
...@@ -447,6 +447,20 @@ ...@@ -447,6 +447,20 @@
"value": "stdcpplatest", "value": "stdcpplatest",
"flags": [] "flags": []
}, },
{
"name": "LanguageStandard",
"switch": "Qstd=c++14",
"comment": "ISO C++14 Standard",
"value": "stdcpp14",
"flags": []
},
{
"name": "LanguageStandard",
"switch": "Qstd=c++17",
"comment": "ISO C++17 Standard",
"value": "stdcpp17",
"flags": []
},
{ {
"name": "PrecompiledHeader", "name": "PrecompiledHeader",
"switch": "Yc", "switch": "Yc",
......
...@@ -454,6 +454,20 @@ ...@@ -454,6 +454,20 @@
"value": "stdcpplatest", "value": "stdcpplatest",
"flags": [] "flags": []
}, },
{
"name": "LanguageStandard",
"switch": "Qstd=c++14",
"comment": "ISO C++14 Standard",
"value": "stdcpp14",
"flags": []
},
{
"name": "LanguageStandard",
"switch": "Qstd=c++17",
"comment": "ISO C++17 Standard",
"value": "stdcpp17",
"flags": []
},
{ {
"name": "PrecompiledHeader", "name": "PrecompiledHeader",
"switch": "Yc", "switch": "Yc",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment