New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't build compiler instance #1399
Comments
Please include full logs (not a screenshot) from |
|
Execuse me, |
ITS OK, I found that, Over the below argument.
|
Could you find any cue from the log? |
The problem is You can remove this from your compile flags either in your build system or by adding a clangd config file: https://clangd.llvm.org/config#remove It's unfortunate that we're not managing to report this in some discoverable way. |
Filed #1408 for the lack of error reporting. Unfortunately I'm not sure there's much else to do here, it's hard to know which completely unknown flags are critical. If |
Really we want these to be shown to the client, but the path to do so involves storing them in Bandaid for clangd/clangd#1408 See clangd/clangd#1399 for motivation Differential Revision: https://reviews.llvm.org/D139088
I can't jump to GoToDefinitionElseDeclaration in cpp with YouCompleteMe [https://github.com/ycm-core/YouCompleteMe/issues/4085] and my os system is centos 8, It looks like clangd is choking on compiler flags and unable to read them and instantiate the front end.
Logs
System information
Output of
clangd --version
:clangd version 15.0.1 (https://github.com/ycm-core/llvm 708056a3d8259ce1d9fc0f15676d13b53cc23835) Features: linux Platform: x86_64-unknown-linux-gnu
Editor/LSP plugin:
vim version 9.0.950
Operating system:
centos8
The text was updated successfully, but these errors were encountered: