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
Fix statics DataFormats/EcalDet #1139
Fix statics DataFormats/EcalDet #1139
Conversation
A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_0_X. Fix statics DataFormats/EcalDet It involves the following packages: DataFormats/EcalDetId @smuzaffar, @civanch, @Dr15Jones, @ianna, @mdhildreth, @nclopezo, @ktf can you please review it and eventually sign? Thanks. |
-1 In file included from /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-10-23-0200/src/CondFormats/EcalObjects/interface/EcalCondObjectContainer.h:4, from src/CondFormats/EcalObjects/src/classes.h:4: /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-10-23-0200/src/DataFormats/EcalDetId/interface/EcalContainer.h: In member function 'T& EcalContainer::operator[](uint32_t)': /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-10-23-0200/src/DataFormats/EcalDetId/interface/EcalContainer.h:46: error: a function-definition is not allowed here before '{' token /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-10-23-0200/src/DataFormats/EcalDetId/interface/EcalContainer.h:48: error: 'dummy' was not declared in this scope /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-10-23-0200/src/DataFormats/EcalDetId/interface/EcalContainer.h: In member function 'const T& EcalContainer::operator[](uint32_t) const': /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-10-23-0200/src/DataFormats/EcalDetId/interface/EcalContainer.h:74: error: a function-definition is not allowed here before '{' token /build/cmsbuild/jenkins-workarea/workspace/Pull-Request-Integration/ARCHITECTURE/slc5_amd64_gcc481/CMSSW_7_0_X_2013-10-23-0200/src/DataFormats/EcalDetId/interface/EcalContainer.h:76: error: 'dummy' was not declared in this scope you can see the results of the tests here: |
Pull request #1139 was updated. @smuzaffar, @civanch, @Dr15Jones, @ianna, @mdhildreth, @nclopezo, @ktf can you please check and sign again. |
+1 |
This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it? |
Multithreading fixes -- Fix statics DataFormats/EcalDet
Fixed items found by thread-safety checkers. This includes
-changing 'static' to 'const static' where appropriate
-using std::call_once to safely fill a static array that is only used in a 'const' way after it is filled.