-
Notifications
You must be signed in to change notification settings - Fork 989
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
[feature] Add "warnings as errors" mode #14909
Comments
Thanks for the suggestion @rconde01 There is already some capability of suppressing warnings in Conan 2.0 with |
For additional context, 2 other places i've seen warnings are patches and/or replace_in_file not applying correctly. I would say as a rule one should architect such that these apply, or are errors. Seems pretty risky otherwise and could be difficult to debug downstream. |
I think these would deserve their own separate ticket, as it is a different one. |
hmm...but if the feature is "warnings as errors" then it's a bit weird if they don't cover these cases. But I see that indeed it's an edge case. You don't want to break any recipes, though you could make the policy to not allow
Could change these cases to something like: |
Implemented in #15149 for next 2.0.15 |
What is your suggestion?
For example, sometimes when i'm developing a package I get: "Warning: No files in package"...I would like that to show up as an error. Of course, I guess that also implies the need to suppress warnings - so perhaps it's not so simple.
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: