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
Add missing GCC11_OVERRIDE / override #9353
Conversation
Clang pre-3.7 throws a warning for any missing `override` if `override` is used at least once in a class thus enforsing to be consistent. Resolves dozens of warnings in ROOT 6.04.00. Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
A new Pull Request was created by @davidlt for CMSSW_7_5_X. Add missing GCC11_OVERRIDE / override It involves the following packages: DataFormats/Common @cmsbuild, @cvuosalo, @Dr15Jones, @slava77 can you please review it and eventually sign? Thanks. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
+1 |
-1 Tested at: d1b009d ---> test runtestTqafTopEventProducers had ERRORS you can see the results of the tests here: |
+1 Adding GCC11_OVERRIDE identifiers to silence Clang warnings for ROOT 6.04. This change should not change program behavior. Some Clang override warnings from other files still remain. The code changes are satisfactory, and Jenkins tests against baseline CMSSW_7_5_X_2015-05-29-2300 show no significant differences, as expected. There were problems with Jenkins unit tests, but they are unrelated to this PR. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs unless changes (but tests are reportedly failing). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
-1 Tested at: d1b009d ---> test TestFWCoreIntegrationStandalone had ERRORS you can see the results of the tests here: |
Failing unit test is not related and should be fixed in 30-2300 IB. |
Add missing GCC11_OVERRIDE / override
Clang pre-3.7 throws a warning for any missing
override
ifoverride
is used at least once in a class thus enforsing to be consistent.
Resolves dozens of warnings in ROOT 6.04.00.
Signed-off-by: David Abdurachmanov David.Abdurachmanov@cern.ch