Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3uclid3 opened this issue Mar 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@3uclid3
Copy link

3uclid3 commented Mar 21, 2024

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
@3uclid3
Copy link
Author

3uclid3 commented Mar 21, 2024

I'm sorry, I wanted to open the issue on project_options and I guess I was on the wrong tab

@aminya aminya transferred this issue from aminya/cpp_vcpkg_project Mar 22, 2024
@aminya aminya added the bug Something isn't working label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants