Skip to content

Add CXXFLAGS for unused result warning#10492

Merged
smuzaffar merged 1 commit intocms-sw:IB/CMSSW_17_0_X/masterfrom
akritkbehera:Add-'Werror=unused-result'-to-gcc-cxxcompiler.xml
Apr 20, 2026
Merged

Add CXXFLAGS for unused result warning#10492
smuzaffar merged 1 commit intocms-sw:IB/CMSSW_17_0_X/masterfrom
akritkbehera:Add-'Werror=unused-result'-to-gcc-cxxcompiler.xml

Conversation

@akritkbehera
Copy link
Copy Markdown
Contributor

No description provided.

@cmsbuild
Copy link
Copy Markdown
Contributor

A new Pull Request was created by @akritkbehera for branch IB/CMSSW_17_0_X/master.

@akritkbehera, @cmsbuild, @iarspider, @raoatifshad, @smuzaffar can you please review it and eventually sign? Thanks.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.
cms-bot commands are listed here

@akritkbehera
Copy link
Copy Markdown
Contributor Author

test_parametes:

  • full_cmssw = true

@akritkbehera
Copy link
Copy Markdown
Contributor Author

please test

@cms-sw cms-sw deleted a comment from cmsbuild Apr 17, 2026
@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Apr 17, 2026

cms-bot internal usage

@cmsbuild
Copy link
Copy Markdown
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f97beb/52720/summary.html
COMMIT: b1680e4
CMSSW: CMSSW_17_0_X_2026-04-17-1100/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/10492/52720/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 15 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4186437
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4186417
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 52 files compared)
  • Checked 227 log files, 197 edm output root files, 53 DQM output files
  • TriggerResults: no differences found

@akritkbehera
Copy link
Copy Markdown
Contributor Author

akritkbehera commented Apr 17, 2026

test parameters:

  • full_cmssw = true

@akritkbehera
Copy link
Copy Markdown
Contributor Author

please test

@cmsbuild
Copy link
Copy Markdown
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f97beb/52727/summary.html
COMMIT: b1680e4
CMSSW: CMSSW_17_0_X_2026-04-17-1100/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/10492/52727/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 15 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4186437
  • DQMHistoTests: Total failures: 83
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4186334
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 52 files compared)
  • Checked 227 log files, 197 edm output root files, 53 DQM output files
  • TriggerResults: no differences found

@makortel
Copy link
Copy Markdown
Contributor

I'm (positively) surprised we didn't have any cases in the code that would have been flagged!

@smuzaffar
Copy link
Copy Markdown
Contributor

Please test

There was a typo in the full test parameter comment so previous tests did not build full cmssw

@cmsbuild
Copy link
Copy Markdown
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f97beb/52732/summary.html
COMMIT: b1680e4
CMSSW: CMSSW_17_0_X_2026-04-17-2300/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/10492/52732/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f97beb/52732/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f97beb/52732/git-merge-result

Comparison Summary

Summary:

  • You potentially removed 160 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 11 differences found in the comparisons
  • DQMHistoTests: Total files compared: 53
  • DQMHistoTests: Total histograms compared: 4186421
  • DQMHistoTests: Total failures: 792
  • DQMHistoTests: Total nulls: 76
  • DQMHistoTests: Total successes: 4185533
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1411.375 KiB( 52 files compared)
  • DQMHistoSizes: changed ( 18434.0,... ): 352.790 KiB HLT/ScoutingOffline
  • DQMHistoSizes: changed ( 34434.0,... ): 0.020 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 34434.0,... ): 0.020 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 34496.0 ): 0.027 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 34634.999 ): 0.031 KiB MessageLogger/Warnings
  • Checked 227 log files, 197 edm output root files, 53 DQM output files
  • TriggerResults: found differences in 6 / 51 workflows

@smuzaffar
Copy link
Copy Markdown
Contributor

please build for el10_amd64_gcc15

@smuzaffar
Copy link
Copy Markdown
Contributor

please build for CMSSW_17_0_CLANG_X

@cmsbuild
Copy link
Copy Markdown
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f97beb/52739/summary.html
COMMIT: b1680e4
CMSSW: CMSSW_17_0_X_2026-04-16-2300/el10_amd64_gcc15
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/10492/52739/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f97beb/52739/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f97beb/52739/git-merge-result

@cmsbuild
Copy link
Copy Markdown
Contributor

@smuzaffar
Copy link
Copy Markdown
Contributor

+externals

@smuzaffar smuzaffar merged commit 95c8d56 into cms-sw:IB/CMSSW_17_0_X/master Apr 20, 2026
14 checks passed
@cmsbuild
Copy link
Copy Markdown
Contributor

This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_17_0_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @ftenchini, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2)

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