-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[CPP20][ALCA, DB] Remove deprecated enum arithmetic #44485
[CPP20][ALCA, DB] Remove deprecated enum arithmetic #44485
Conversation
please test for CMSSW_14_1_CPP20_X |
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44485/39574
|
A new Pull Request was created by @iarspider for master. It involves the following packages:
@saumyaphor4252, @consuegs, @francescobrivio, @perrotta can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
-1 Failed Tests: Build BuildI found compilation warning when building: See details on the summary page. |
There are other such cases, e.g.:
|
@perrotta thanks, I have somehow missed these. |
please test for CMSSW_14_1_CPP20_X |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44485/39591
|
Pull request #44485 was updated. @francescobrivio, @saumyaphor4252, @perrotta, @consuegs can you please check and sign again. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8d328b/38301/summary.html Comparison SummarySummary:
|
Also here, I think that constexpr would suit better, as suggested by Matti in #44488 (comment) |
@perrotta I plan to pursue this route in all the PRs aiming to fix deprecated enum arithmetics - or, at least, where it won't require too many additional changes |
hold |
Pull request has been put on hold by @iarspider |
PR description:
Some arithmetic and logic operations on
enum
s are deprecated in C++20. This PR aims to fix these.PR validation:
Bot tests