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

Stop compiler warning for CaloCluster's operator<< #18530

Merged
merged 1 commit into from May 2, 2017

Conversation

Dr15Jones
Copy link
Contributor

gcc6 warned that operator<< for CaloCluster was not in the reco
namespace.

gcc6 warned that operator<< for CaloCluster was not in the reco
namespace.
@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2017

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

DataFormats/CaloRecHit

@perrotta, @cmsbuild, @slava77, @davidlange6 can you please review it and eventually sign? Thanks.
@davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19483/console Started: 2017/05/01 16:16

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2017

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-18530/19483/summary.html

Comparison Summary:

  • You potentially added 3 lines to the logs
  • Reco comparison results: 3354 differences found in the comparisons
  • DQMHistoTests: Total files compared: 23
  • DQMHistoTests: Total histograms compared: 1778687
  • DQMHistoTests: Total failures: 46700
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1731814
  • DQMHistoTests: Total skipped: 173
  • DQMHistoTests: Total Missing objects: 0
  • Checked 94 log files, 14 edm output root files, 23 DQM output files

@perrotta
Copy link
Contributor

perrotta commented May 2, 2017

+1
Technical

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2017

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

@davidlange6
Copy link
Contributor

Hi @Dr15Jones - having tried to fix this once.. do you need to remove lines 201-202?

friend std::ostream& operator<<(std::ostream& out,
const CaloCluster& cluster);

@@ -25,6 +25,9 @@

namespace reco {

class CaloCluster;
std::ostream& operator<<(std::ostream& out,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will it be visible globally or is it a reco::operator<< here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is reco::operator<< there. But the way C++ looks up free functions, it will look for it in the same namespace as CaloCluster.

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 7f2aa4f into cms-sw:master May 2, 2017
@Dr15Jones Dr15Jones deleted the stopCompilerWarningInCaloCluster branch May 4, 2017 16:05
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