-
Notifications
You must be signed in to change notification settings - Fork 157
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
build: Add -Wfloat-conversion to clang warnings #1676
build: Add -Wfloat-conversion to clang warnings #1676
Conversation
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.
lets see if that catches #1673 too
This is a good idea. Just needs the code fixes now 😄 |
I would propose a Fix-a-thon for this :D |
I fixed all the conversion warnings with |
Would it be okay to merge this with the warning only enabled for clang @paulgessinger? Then we have at least these changes in for now. |
📊 Physics performance monitoring for c9cb63dFull report VertexingSeedingCKFAmbiguity resolutionTruth tracking (Kalman Filter)Truth tracking (GSF) |
I guess the only argument against would be that it's maybe unexpected to see a warning in the CI and then not locally. But to some extent this is already the case depending on which compiler you use. |
Codecov Report
@@ Coverage Diff @@
## main #1676 +/- ##
==========================================
- Coverage 49.83% 49.77% -0.06%
==========================================
Files 406 406
Lines 22532 22521 -11
Branches 10280 10286 +6
==========================================
- Hits 11228 11210 -18
- Misses 4131 4132 +1
- Partials 7173 7179 +6
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This PR currently has a merge conflict. Please resolve this and then re-add the |
this seems at least in clang catch implicit float-to-bool conversion.