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

[RECONSTRUCTION] Define missing assignment operator to fix warnings reported in DEVEL IBs #43462

Conversation

aandvalenzuela
Copy link
Contributor

Hello,

This PR solves the DEVEL warnings on deprecated implicit assignment operators present in the IBs on the DataFormats modules.

This PR is part of a campaign trying to get rid of warnings of this kind:

/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/a2b36a15ce1eab94715509bc9f78be2f/opt/cmssw/el8_amd64_gcc12/cms/cmssw/CMSSW_14_0_DEVEL_X_2023-11-30-2300/src/DataFormats/SiStripCommon/test/plugins/examples_SiStripFecKey.cc: In member function 'virtual void examplesSiStripFecKey::beginJob()':
  /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/a2b36a15ce1eab94715509bc9f78be2f/opt/cmssw/el8_amd64_gcc12/cms/cmssw/CMSSW_14_0_DEVEL_X_2023-11-30-2300/src/DataFormats/SiStripCommon/test/plugins/examples_SiStripFecKey.cc:69:12: warning: implicitly-declared 'SiStripFecKey& SiStripFecKey::operator=(const SiStripFecKey&)' is deprecated [-Wdeprecated-copy]
    69 |   equals = valid;
      |            ^~~~~
In file included from /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/a2b36a15ce1eab94715509bc9f78be2f/opt/cmssw/el8_amd64_gcc12/cms/cmssw/CMSSW_14_0_DEVEL_X_2023-11-30-2300/src/DataFormats/SiStripCommon/test/plugins/examples_SiStripFecKey.cc:14:
/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/a2b36a15ce1eab94715509bc9f78be2f/opt/cmssw/el8_amd64_gcc12/cms/cmssw/CMSSW_14_0_DEVEL_X_2023-11-30-2300/src/DataFormats/SiStripCommon/interface/SiStripFecKey.h:65:3: note: because 'SiStripFecKey' has user-provided 'SiStripFecKey::SiStripFecKey(const SiStripFecKey&)'
   65 |   SiStripFecKey(const SiStripFecKey&);
      |   ^~~~~~~~~~~~~
/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/a2b36a15ce1eab94715509bc9f78be2f/opt/cmssw/el8_amd64_gcc12/cms/cmssw/CMSSW_14_0_DEVEL_X_2023-11-30-2300/src/DataFormats/SiStripCommon/test/plugins/test_SiStripFecKey.cc: In member function 'virtual void testSiStripFecKey::beginJob()':
  /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/a2b36a15ce1eab94715509bc9f78be2f/opt/cmssw/el8_amd64_gcc12/cms/cmssw/CMSSW_14_0_DEVEL_X_2023-11-30-2300/src/DataFormats/SiStripCommon/test/plugins/test_SiStripFecKey.cc:116:26: warning: implicitly-declared 'SiStripFecKey& SiStripFecKey::operator=(const SiStripFecKey&)' is deprecated [-Wdeprecated-copy]
   116 |                   tmp5 = tmp1;
      |                          ^~~~
In file included from /data/cmsbld/je

Thanks,
Andrea

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2023

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43462/38015

  • This PR adds an extra 32KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2023

A new Pull Request was created by @aandvalenzuela (Andrea Valenzuela) for master.

It involves the following packages:

  • DataFormats/BTauReco (reconstruction)
  • DataFormats/EgammaCandidates (reconstruction)
  • DataFormats/METReco (reconstruction)
  • DataFormats/ParticleFlowReco (reconstruction)
  • DataFormats/SiStripCommon (reconstruction)

@mandrenguyen, @jfernan2, @cmsbuild can you please review it and eventually sign? Thanks.
@varuns23, @schoef, @nhanvtran, @ram1123, @sameasy, @JyothsnaKomaragiri, @rappoccio, @jdolen, @mmusich, @a-kapoor, @threus, @AlexDeMoor, @emilbols, @andrzejnovak, @Sam-Harper, @jainshilpi, @ahinzmann, @Senphy, @erikbutz, @Ming-Yan, @echabert, @VinInn, @robervalwalsh, @rovere, @mariadalfonso, @AnnikaStein, @hatakeyamak, @sobhatta, @Prasant1993, @alesaggio, @gouskos, @afiqaize, @mmarionncern, @jdamgov, @lgray, @seemasharmafnal, @missirol, @gkasieczka, @jlidrych, @demuller this is something you requested to watch as well.
@sextonkennedy, @antoniovilela, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@aandvalenzuela
Copy link
Contributor Author

please test for CMSSW_14_0_DEVEL_X

@aandvalenzuela
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2023

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-213c73/36225/summary.html
COMMIT: f599317
CMSSW: CMSSW_14_0_DEVEL_X_2023-11-30-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43462/36225/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2023

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-213c73/36226/summary.html
COMMIT: f599317
CMSSW: CMSSW_14_0_X_2023-11-30-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43462/36226/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@mandrenguyen
Copy link
Contributor

+1
technical, no change to reco

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2023

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. @sextonkennedy, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@rappoccio
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 840711f into cms-sw:master Dec 1, 2023
17 checks passed
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.

4 participants