-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Replace C-style array with std::array in HLTHPDFilter #43157
Conversation
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43157/37459
|
A new Pull Request was created by @iarspider for master. It involves the following packages:
@missirol, @Martin-Grunewald, @mmusich can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-456119/35530/summary.html Comparison SummarySummary:
|
Milestone for this pull request has been moved to CMSSW_14_0_X.Please open a backport if it should also go in to CMSSW_13_3_X. |
What is the status here, can the PR be progressed? |
+hlt
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @rappoccio, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
I just stumbled on this by chance, and I wanted to express my disapproval for the change as well. The warning is explicitly wrong:
It should be reported to the compiler and disabled, not worked around by changing correct code. |
PR description:
Compiling code with C-style arrays with LTO causes (false-positive) warnings about out-of-bounds array access:
( full log ). This PR replaces C-style 2D array with
std:array
ofstd::array
.PR validation:
Bot tests