-
Notifications
You must be signed in to change notification settings - Fork 502
Closed
Milestone
Description
Brief Issue Summary
I think it's bug about C/C++
extension doesn't support control flag: -std=gnu++2b, anyway it eventually pops up in CMake/Build
CMake Tools Diagnostics
I cannot run CMake: Log Diagnostics
, insteead run C/C++: Log Diagnostics
Version: 1.6.0
Current Configuration:
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"${vcpkgRoot}/x64-windows/include"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx64\\x64\\cl.exe",
"cStandard": "c17",
"intelliSenseMode": "windows-msvc-x64",
"compilerArgs": [],
"cppStandard": "c++20",
"intelliSenseModeIsExplicit": false,
"cStandardIsExplicit": false,
"cppStandardIsExplicit": true,
"compilerPathIsExplicit": false,
"browse": {
"path": [
"${workspaceFolder}/**",
"${vcpkgRoot}/x64-windows/include"
],
"limitSymbolsToIncludedHeaders": true
}
}
Debug Log
[cpptools] Unknown C++ standard control flag: -std=gnu++2b
[cpptools] Unknown standard control flag: -std=gnu++2b
[cpptools] Unknown C++ standard control flag: -std=gnu++2b
[cpptools] Unknown standard control flag: -std=gnu++2b
[cpptools] Unknown C++ standard control flag: -std=gnu++2b
[cpptools] Unknown standard control flag: -std=gnu++2b
[cpptools] Unknown C++ standard control flag: -std=gnu++2b
[cpptools] Unknown standard control flag: -std=gnu++2b
[cpptools] Unknown C++ standard control flag: -std=gnu++2b
[cpptools] Unknown standard control flag: -std=gnu++2b