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

CaloOnlineTools/HcalOnlineDb : formatting fix for gcc 6.0 misleading-indentation warning #15000

Merged
merged 1 commit into from Jul 6, 2016
Merged

CaloOnlineTools/HcalOnlineDb : formatting fix for gcc 6.0 misleading-indentation warning #15000

merged 1 commit into from Jul 6, 2016

Conversation

gartung
Copy link
Member

@gartung gartung commented Jun 27, 2016

/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:172:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (crate<a.crate) return true; if (crate>a.crate) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:172:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (crate<a.crate) return true; if (crate>a.crate) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:173:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (slot<a.slot) return true; if (slot>a.slot) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:173:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (slot<a.slot) return true; if (slot>a.slot) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:174:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (fpga<a.fpga) return true; if (fpga>a.fpga) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:174:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (fpga<a.fpga) return true; if (fpga>a.fpga) return false;

/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:181:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (fiber_slb<a.fiber_slb) return true; if (fiber_slb>a.fiber_slb) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:181:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (fiber_slb<a.fiber_slb) return true; if (fiber_slb>a.fiber_slb) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:182:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (channel<a.channel) return true; if (channel>a.channel) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:182:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (channel<a.channel) return true; if (channel>a.channel) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:183:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (lut_type<a.lut_type) return true; if (lut_type>a.lut_type) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:183:43: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (lut_type<a.lut_type) return true; if (lut_type>a.lut_type) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc: In member function 'bool hcal::ConfigurationDatabase::RBXdatumId::operator<(const hcal::ConfigurationDatabase::RBXdatumId&) const':
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:202:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (rm<a.rm) return true; if (rm>a.rm) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:202:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (rm<a.rm) return true; if (rm>a.rm) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:203:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (card<a.card) return true; if (card>a.card) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:203:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (card<a.card) return true; if (card>a.card) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:204:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (qie_or_gol<a.qie_or_gol) return true; if (qie_or_gol>a.qie_or_gol) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:204:47: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (qie_or_gol<a.qie_or_gol) return true; if (qie_or_gol>a.qie_or_gol) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:205:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (dtype<a.dtype) return true; if (dtype>a.dtype) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:205:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (dtype<a.dtype) return true; if (dtype>a.dtype) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:206:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (ltype<a.ltype) return true; if (ltype>a.ltype) return false;
^~
/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/CaloOnlineTools/HcalOnlineDb/src/ConfigurationDatabase.cc:206:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (ltype<a.ltype) return true; if (ltype>a.ltype) return false;
^~

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @gartung (Patrick Gartung) for CMSSW_8_1_X.

It involves the following packages:

CaloOnlineTools/HcalOnlineDb

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

cms-bot commands are list here #13028

@gartung gartung changed the title Fix this 'if' clause does not guard... [-Wmisleading-indentation] gcc 6.0 misleading-indentation warning flags potential bug Jun 28, 2016
@gartung gartung changed the title gcc 6.0 misleading-indentation warning flags potential bug CaloOnlineTools/HcalOnlineDb : gcc 6.0 misleading-indentation warning flags potential bug; with formatting fix Jun 28, 2016
@gartung gartung changed the title CaloOnlineTools/HcalOnlineDb : gcc 6.0 misleading-indentation warning flags potential bug; with formatting fix CaloOnlineTools/HcalOnlineDb : formatting fix for gcc 6.0 misleading-indentation warning Jul 1, 2016
@ggovi
Copy link
Contributor

ggovi commented Jul 5, 2016

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/13893/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 6, 2016

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

The workflows 1003.0, 1001.0, 1000.0, 140.53 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 278934b into cms-sw:CMSSW_8_1_X Jul 6, 2016
@gartung gartung deleted the CaloOnlineTools-HcalOnlineDb-fix-indent-not-guard-warn branch July 8, 2016 18:11
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