Skip to content

Unexpected output when adding predefined macros with -isystem path containing spaces #11

@monkey413

Description

@monkey413

When adding predefined macros with -isystem 'D:\path to scoop\scoop\apps\gcc\current\include', the output is not as expected

.\compiledb.exe -p compile.log -m "-isystem'D:\path to scoop\scoop\apps\gcc\current\include'"
Image

When adding predefined macros with -isystem 'D:\pathtoscoop\scoop\apps\gcc\current\include', the output is correct

.\compiledb.exe -p compile.log -m "-isystem'D:\pathtoscoop\scoop\apps\gcc\current\include'"
Image

Here is the test compile.log
compile.log

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions