I'm using CMake with clang to compile. I'm using only the clangd VSCode extension (i.e., not using any other C++ extensions).
In the "Problems" window, which is powered by VSCode and not compiler output (so there's not an issue with my CMake stuff or compile_commands.json, because I don't even have to compile to see the Problems messages):
- Some error blah blah - clang [Ln x, Col y]
- Some error blah blah - GCC [Ln x, Col y]
The first error is presumably from clangd and I want to keep it. How can I get rid of the second error? I'm not using GCC anywhere in my build, so I don't know how it got there.
Thanks!