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

[GCC11] Fix compiler warnings for CalibPPS #35476

Merged
merged 2 commits into from Sep 30, 2021

Conversation

smuzaffar
Copy link
Contributor

This fixes the GCC11 compilation warnings from CalibPPS/ESProducers/plugins/PPSAssociationCutsESSource.cc

  CalibPPS/ESProducers/plugins/PPSAssociationCutsESSource.cc:119:27: warning: loop variable 'sector' of type 'const string&' {aka 'const std::__cxx11::basic_string<char>&'} binds to a temporary constructed from type 'const char* const' [-Wrange-loop-construct]
   119 |   for (const std::string &sector : {"45", "56"}) {

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35476/25639

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master.

It involves the following packages:

  • CalibPPS/ESProducers (alca)

@yuanchao, @malbouis, @tvami, @francescobrivio can you please review it and eventually sign? Thanks.
@fabferro, @jan-kaspar, @mmusich, @tocheng this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@tvami
Copy link
Contributor

tvami commented Sep 29, 2021

FYI @sgrzegorz

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-06e3a2/19254/summary.html
COMMIT: 9322cfc
CMSSW: CMSSW_12_1_X_2021-09-29-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35476/19254/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 10 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 3211080
  • DQMHistoTests: Total failures: 14
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3211043
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@tvami
Copy link
Contributor

tvami commented Sep 30, 2021

@smuzaffar do you understand why there are msg logger failures in a PR which is this technical?

@tvami
Copy link
Contributor

tvami commented Sep 30, 2021

+alca

@cmsbuild
Copy link
Contributor

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 will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Sep 30, 2021

+1

@cmsbuild cmsbuild merged commit e99fe4b into cms-sw:master Sep 30, 2021
@smuzaffar
Copy link
Contributor Author

@smuzaffar do you understand why there are msg logger failures in a PR which is this technical?

@tvami , I really do not know the details but @slava77 can help you understand the reason behind ML comparison diffs

@smuzaffar smuzaffar deleted the gcc-warning-CalibPPS branch September 30, 2021 06:08
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

4 participants