Replies: 1 comment
-
|
Please post clangd logs taken with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using w64devkit from @skeeto. I have a valid compile_commands.json generated by CMake.
I tried my best. But I'm unable to make clangd to work.
The comment here doesn't help: skeeto/w64devkit#328 (comment)
clangd doesn't recognize
--driver-mode=c++(this is a clang switch, not clangd switch?).I inspected with
--log=verbose --check=./test.hwhichtest.honly contains#include <iostream>.clangd sees
compile_commands.json, but for unknown reasons it can't findiostream. I'm out of idea.An LLM said this is normal for clangd, and I have to add
-isystemfor all the include directories of w64devkit. This is ridiculous!Note: I set the C++ standard to be C++23. clangd warns about
unknown argument -fmodule-ts, but where is that come from? I can't find it in compile_commands.json. It's kind of from nowhere!I found this thread on @mstorsjo's repo: mstorsjo/llvm-mingw#454
No.
--query-driverdoesn't help in my case.Beta Was this translation helpful? Give feedback.
All reactions