Please add a switch to tell it to not include -isystem.
Currently, it includes -isystem. I know you made it this way to try to ensure that the language server can find headers, but sometimes it causes issues itself.
For example: I got full of duplicated definitions errors by clangd today and these only went away if I manually removed all of the -isystem instances in the generated compile_commands.json. I know this doesn't normally happen. But some GCC/Clang builds are just problematic.
Please add a switch to tell it to not include
-isystem.Currently, it includes
-isystem. I know you made it this way to try to ensure that the language server can find headers, but sometimes it causes issues itself.For example: I got full of duplicated definitions errors by
clangdtoday and these only went away if I manually removed all of the-isysteminstances in the generatedcompile_commands.json. I know this doesn't normally happen. But some GCC/Clang builds are just problematic.