Replies: 2 comments 2 replies
-
From clangd/clangd#662 adding the following to a
Would it make sense to add this |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanks for the clangd pointers! Since this is an issue for every Zephyr project I open, I solved this at the system-wide level:
|
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.
-
I'm using Neovim with clangd language server -- it is generally working great. The build process generates
compile_commands.json
and.clang-format
is provided -- very well done!I am seeing one issue where
-fno-reorder-functions
is is passed as an argument to GCC. This causes the following error in Neovim, generated by the clangd language server:Unknown argument: '-fno-reorder-functions'
This is enabled in CMakeLists.txt:
So we are using GCC to build and Clangd for the language server, and it appears not all arguments are compatible. What is the best solution to this?
Beta Was this translation helpful? Give feedback.
All reactions