I am using Windows 11, and I have downloaded the gcc compiler from mingw-w64, which should include all the basic system headers, and I am using clangd for vscode. For some reason, clangd still has a hard time trying to find all the basic...
I added INCLUDE into environment variable with value: "C:\mingw64\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++". That could direct VSCode where iostream file is. However another bug appears that VScode could not find other header files like "c++config.h". It seems like all subdirectorie...
Windows10 / vscode 1.55.2 / clangd 0.1.11 If the user does not have a compiler in PATH, clangd.exe is unable to parse the files, as it cannot find any std header files. It'd be nice if there was a user setting in clangd similar to 'clangd.path' to set the PATH environment vari...
This issue appeared after updating from 13.0.1 to 14.0. I am sure, that clangd is able to find system includes using extracted paths from arm-none-eabi-* GCC, because linting of test.cpp files work as expected. When I switch to header fi...
it still isn't able to find the sycl.hpp You may need to manually specify the include directory where this header is located. now I am domed to use vscode (what the hell are they using, isn't clangd ???) ... VSCode can use either clangd, or Microsoft's proprietary language serv...
Before applying the mentioned patch,clangddoesnt find c++ includes, and others. It does locate GCCs own libraries, but notlibstdc++ Below is the relevant part of the log, when clangd is called with/usr/bin/clangd --log=verbose "--query-driver=/home/topisani/dev/otto-bsp/build/tmp/work/...
I did not find a good solution, but here is my way. Diagnostics: Suppress: "pp_including_mainfile_in_preamble" Add above codes into the .clangd file under your project directory. Personally I think it's not a elegant solution haha. I have the same issue, and this workaround does not...
@HighCommander4 I found why you couldn't find the bug: OpenMP pragmas are only activated conditionally if we use the correct compiler flags and include correct header files. And I guess they weren't activated because you don't have a cmake file or inlcude the omp.h header. Sorry, I ...
Discussions 🙏 clangd-index-server errors for system headers BadhiaskedMay 30, 2022inQ&A· Unanswered 4 .clangd CompileFlags Add -I flags doesn't work for relative paths slmjkdbtlaskedOct 22, 2024inQ&A· Unanswered 1 How can I restrict where clangd will look for header insertion ...
[23:46:55.413] Failed to find compilation database for c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\yvals_core.h I[23:46:55.413] Failed to find compilation database for c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38....