![Avatar](/_next/image?url=%2Flemmy-icon-96x96.webp&w=3840&q=75)
Kwdg
Kwdg@discuss.tchncs.de
Joined
0 posts • 2 comments
I got exactly the same result
If you use meson or cmake, you can generate a compile_commands.json which you can link from the build dir into your source dir. If not you cam create a local config file for clangd https://stackoverflow.com/questions/73758291/is-there-a-way-to-specify-the-c-standard-of-clangd-without-recompiling-it