Skip to content

Using clang-cl with ENABLE_COVERAGE lead to 'argument unused during compilation: '-O0'' #254

Open
@3uclid3

Description

I'm trying to use clang-cl instead of msvc and I'm getting a warning (as error):

'argument unused during compilation: '-O0''

If I comment 'ENABLE_COVERAGE', the warning disappear. (and the argument obviously)

I could just disable it, but is there another way to fix this?

Upvote & Fund

@aminya is using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.

Thank you in advance for helping prioritize & fund our backlog!


Fund with Polar

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions