Closed 108806 closed 2 years ago
Hi @108806 . Could you enable "C_Cpp.loggingLevel": "Debug"
and provide the output from the C/C++ output channel leading up to the issue? It should indicate the command line it's using to invoke MinGW that's failing.
I suspect the issue is related to the compilerArgs
you specified. When I try to use that configuration, I get the following error:
"C:\\msys64\\mingw64\\bin\\gcc.exe" "--Wall" "--Wextra" "-pedantic" "-g3" -std=gnu++17 -Wp,-v -E -dD -x c++ -m64 nul
gcc.exe: error: unrecognized command-line option '--Wall'; did you mean '-Wall'?
gcc.exe: error: unrecognized command-line option '--Wextra'; did you mean '-Wextra'?
My fault. All good after fixing those args. Closing.
Bug-type: Language Server
Description After installing MSYS2 for windows and trying to use LanguageServer in GCC mode the IntelliSense is being put back in the default win32 mode with the following error being displayed in the extension output window :
System info
Steps to reproduce
Expected behavior Linting should work in GCC mode, and if a crash occurs then the reason should be specified clearly
Config and logs
Output window err message:
Logs from running
C/C++: Log Diagnostics
: