Skip to content

premake5 compilecommands tweak #2693

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions