错误:对于 C++ 源文件,cppStandard 已从“c++17”更改为“”

问题描述 投票:0回答:0

这是我的 VS 代码中显示的完整消息:

[3/31/2023, 8:48:21 PM] For C++ source files, the cppStandard was changed from "c++17" to "".
[3/31/2023, 8:48:21 PM] For C source files, the cStandard was changed from "c17" to "".
[3/31/2023, 8:48:22 PM] For C++ source files, IntelliSenseMode was changed from "windows-msvc-x64" to "windows-gcc-x64" based on compiler args and querying compilerPath: "C:\msys64\mingw64\bin\gcc.exe"
[3/31/2023, 8:48:22 PM] IntelliSenseMode was changed because it didn't match the detected compiler.  Consider setting "compilerPath" instead.  Set "compilerPath" to "" to disable detection of system includes and defines.
[3/31/2023, 8:48:22 PM] For C source files, IntelliSenseMode was changed from "windows-msvc-x64" to "windows-gcc-x64" based on compiler args and querying compilerPath: "C:\msys64\mingw64\bin\gcc.exe"
[3/31/2023, 8:48:22 PM] IntelliSenseMode was changed because it didn't match the detected compiler.  Consider setting "compilerPath" instead.  Set "compilerPath" to "" to disable detection of system includes and defines.

我做错了什么?那是我的错吗?我正在使用来自 msys2 的最新版本的 C/C++ 编译器,以及迄今为止最新版本的 VS Code

c++ visual-studio-code gcc gcc-warning
© www.soinside.com 2019 - 2024. All rights reserved.