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

DataFormats/TrackReco: remove intrusive macros breaking stdlibc++ #11590

Merged
merged 1 commit into from
Oct 5, 2015

Conversation

davidlt
Copy link
Contributor

@davidlt davidlt commented Oct 1, 2015

The test itself is moved to test::TestHitPattern::test() for a better
isolation and friendship is added with reco::HitPattern.

This also revealed that struct PatternSet must be a friend with
reco::HitPattern. PatternSet ctor calls public PatternSet::fill
method, which calls HitPattern::call which is private. The code was
relaying on #define private public to get these class working
together.

Compiles fine and test is working.

Signed-off-by: David Abdurachmanov [email protected]

The test itself is moved to `test::TestHitPattern::test()` for a better
isolation and friendship is added with `reco::HitPattern`.

This also revealed that `struct PatternSet` must be a friend with
`reco::HitPattern`. `PatternSet` ctor calls public `PatternSet::fill`
method, which calls `HitPattern::call` which is private. The code was
relaying on `#define private public` to get these class working
together.

Signed-off-by: David Abdurachmanov <[email protected]>
@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2015

A new Pull Request was created by @davidlt for CMSSW_7_6_X.

DataFormats/TrackReco: remove intrusive macros breaking stdlibc++

It involves the following packages:

DataFormats/TrackReco

@cmsbuild, @cvuosalo, @slava77 can you please review it and eventually sign? Thanks.
@makortel, @gpetruc, @VinInn this is something you requested to watch as well.
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.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2015

The jenkins tests job failed, please try again.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/8541/console

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2015

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2015

@davidlt
Copy link
Contributor Author

davidlt commented Oct 5, 2015

ping^1

@cvuosalo
Copy link
Contributor

cvuosalo commented Oct 5, 2015

+1

For #11590 2faab9e

Code clean-up to remove "#define private public" from DataFormats/TrackReco. There should be no change in run-time behavior.

The code changes are satisfactory, and Jenkins tests against baseline CMSSW_7_6_X_2015-09-30-2300 show no significant differences, as expected.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2015

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Oct 5, 2015
DataFormats/TrackReco: remove intrusive macros breaking stdlibc++
@cmsbuild cmsbuild merged commit 75d1227 into cms-sw:CMSSW_7_6_X Oct 5, 2015
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.

5 participants