Skip to content
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

Merged
merged 3 commits into from Oct 31, 2013

Conversation

Dr15Jones
Copy link
Contributor

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.

@cmsbuild
Copy link
Contributor

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.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@ktf you are the release manager for this.

@nclopezo
Copy link
Contributor

-1
I found an error when building:

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/970/summary.html

@cmsbuild
Copy link
Contributor

Pull request #1139 was updated. @smuzaffar, @civanch, @Dr15Jones, @ianna, @mdhildreth, @nclopezo, @ktf can you please check and sign again.

@nclopezo
Copy link
Contributor

@ianna
Copy link
Contributor

ianna commented Oct 31, 2013

+1

@cmsbuild
Copy link
Contributor

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?

ktf added a commit that referenced this pull request Oct 31, 2013
Multithreading fixes -- Fix statics DataFormats/EcalDet
@ktf ktf merged commit 1ace0a0 into cms-sw:CMSSW_7_0_X Oct 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants