-
Notifications
You must be signed in to change notification settings - Fork 25
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
[c++] Set warnings-as-errors to be off by default #3159
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3159 +/- ##
==========================================
+ Coverage 82.92% 83.30% +0.38%
==========================================
Files 50 51 +1
Lines 5236 5458 +222
==========================================
+ Hits 4342 4547 +205
- Misses 894 911 +17
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I'm missing it we need some way to be sure this flag is always set for devleopers. Maybe some env-var check and we can be sure to all set it in our shell .rc
files ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Issue and/or context:
Warnings as errors are useful for developers/CI, but cause unnecessary friction for users. Turn them off by default. See issue #3087.
Changes:
TILEDBSOMA_ENABLE_WERROR
to beOFF
by default.TILEDBSOMA_ENABLE_WERROR
as an environment variable. This can be overridden by a user provided value.TILEDBSOMA_ENABLE_WERROR
isOFF
.werror
as an argument.werror=true
for CI.