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

Uninitialized member calib in p2eg::Cluster::calib #1142

Open
aloeliger opened this issue Jun 26, 2023 · 0 comments
Open

Uninitialized member calib in p2eg::Cluster::calib #1142

aloeliger opened this issue Jun 26, 2023 · 0 comments
Labels
Compiler Error Issues causing problems in compilation Phase-2 Pertains to phase-2 development

Comments

@aloeliger
Copy link

What

Taken from cms-sw#42094

The CMSSW_13_2_NONLTO_X_2023-06-24-1100 IB reports a compilation warning

In file included from /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/3a90595df44bc94278b0469c0f46ff54/opt/cmssw/el8_amd64_gcc11/cms/cmssw-patch/CMSSW_13_2_NONLTO_X_2023-06-24-1100/src/L1Trigger/L1CaloTrigger/plugins/Phase2L1CaloEGammaEmulator.cc:54:
In member function 'p2eg::Cluster& p2eg::Cluster::operator=(const p2eg::Cluster&)',
    inlined from 'void p2eg::stitchClusterOverRegionBoundary(std::vector<p2eg::Cluster>&, int, int, int)' at /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/3a90595df44bc94278b0469c0f46ff54/opt/cmssw/el8_amd64_gcc11/cms/cmssw-patch/CMSSW_13_2_NONLTO_X_2023-06-24-1100/src/L1Trigger/L1CaloTrigger/interface/Phase2L1RCT.h:1563:48:
  /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/3a90595df44bc94278b0469c0f46ff54/opt/cmssw/el8_amd64_gcc11/cms/cmssw-patch/CMSSW_13_2_NONLTO_X_2023-06-24-1100/src/L1Trigger/L1CaloTrigger/interface/Phase2L1CaloEGammaUtils.h:857:19: warning: '<anonymous>.p2eg::Cluster::calib' may be used uninitialized [-Wmaybe-uninitialized]
   857 |       calib = rhs.calib;
      |               ~~~~^~~~~
In file included from /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/3a90595df44bc94278b0469c0f46ff54/opt/cmssw/el8_amd64_gcc11/cms/cmssw-patch/CMSSW_13_2_NONLTO_X_2023-06-24-1100/src/L1Trigger/L1CaloTrigger/plugins/Phase2L1CaloEGammaEmulator.cc:55:
/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/3a90595df44bc94278b0469c0f46ff54/opt/cmssw/el8_amd64_gcc11/cms/cmssw-patch/CMSSW_13_2_NONLTO_X_2023-06-24-1100/src/L1Trigger/L1CaloTrigger/interface/Phase2L1RCT.h: In function 'void p2eg::stitchClusterOverRegionBoundary(std::vector<p2eg::Cluster>&, int, int, int)':
/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/3a90595df44bc94278b0469c0f46ff54/opt/cmssw/el8_amd64_gcc11/cms/cmssw-patch/CMSSW_13_2_NONLTO_X_2023-06-24-1100/src/L1Trigger/L1CaloTrigger/interface/Phase2L1RCT.h:1563:48: note: '<anonymous>' declared here
 1563 |                                     c1.region());
      |                                                ^

https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/el8_amd64_gcc11/CMSSW_13_2_NONLTO_X_2023-06-24-1100/L1Trigger/L1CaloTrigger

@aloeliger aloeliger added Phase-2 Pertains to phase-2 development Compiler Error Issues causing problems in compilation labels Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compiler Error Issues causing problems in compilation Phase-2 Pertains to phase-2 development
Projects
None yet
Development

No branches or pull requests

1 participant