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 dtors with noexcept(false) to match C++ requirements #17237
Conversation
Compiler generated default dtor is noexcept(true) (i.e. not throwing), but these classes are used as base classes where parent class dtor is marked as noexcept(false) (i.e. throwing). This is not allowed. Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
A new Pull Request was created by @davidlt for CMSSW_9_0_X. It involves the following packages: FWCore/Framework @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
please test |
The tests are being triggered in jenkins. |
-1 Tested at: 69caf17 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build
I found an error when building: >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-1100/src/SimTracker/TrackHistory/src/HistoryBase.cc >> Building LCG reflex dict from header file src/SimTracker/TrackHistory/src/classes.h >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-1100/src/SimTracker/TrackHistory/src/TrackClassifier.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-1100/src/SimTracker/TrackHistory/src/TrackHistory.cc In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-1100/src/SimG4Core/GFlash/src/GflashHadronWrapperProcess.cc:4:0: /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-1100/src/SimG4Core/GFlash/interface/GflashHadronWrapperProcess.h:14:60: error: expected class-name before '{' token class GflashHadronWrapperProcess : public G4WrapperProcess { ^ /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-1100/src/SimG4Core/GFlash/interface/GflashHadronWrapperProcess.h:18:39: error: expected ')' before 'processName' GflashHadronWrapperProcess(G4String processName); ^ |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
Looks to be not related and suspicious:
|
please test |
The tests are being triggered in jenkins. |
-1 Tested at: 69caf17 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build
I found an error when building: from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-2300/src/SimG4Core/GFlash/src/GflashHadronWrapperProcess.cc:4: /cvmfs/cms-ib.cern.ch/nweek-02455/slc6_amd64_gcc530/external/geant4/10.02.p02-oenich2/include/Geant4/G4WrapperProcess.hh:1:1: warning: null character(s) ignored >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-2300/src/SimG4Core/GFlash/src/GflashHadronShowerModel.cc Entering library rule at SimTracker/TrackHistory In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-2300/src/SimG4Core/GFlash/src/GflashHadronWrapperProcess.cc:4:0: /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-2300/src/SimG4Core/GFlash/interface/GflashHadronWrapperProcess.h:14:60: error: expected class-name before '{' token class GflashHadronWrapperProcess : public G4WrapperProcess { ^ /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-20-2300/src/SimG4Core/GFlash/interface/GflashHadronWrapperProcess.h:18:39: error: expected ')' before 'processName' GflashHadronWrapperProcess(G4String processName); ^ |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
Tested locally with the same IB + SCRAM_ARCH and it compiled just fine. |
please test |
The tests are being triggered in jenkins. |
Looks like the 3rd time it was okay and now it's running the tests. |
Comparison job queued. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar |
I would have expected more base classes would need to be changed. |
Let's see how it goes in IBs. The last IB already had "just" 16179 errors ;) |
+1 |
Compiler generated default dtor is noexcept(true) (i.e. not throwing),
but these classes are used as base classes where parent class dtor is
marked as noexcept(false) (i.e. throwing). This is not allowed.
Signed-off-by: David Abdurachmanov David.Abdurachmanov@cern.ch