Page MenuHomeHEPForge

Fix compilation warnings under gcc13 and clang16
ClosedPublic

Authored by tlatham on Jun 20 2024, 5:57 PM.

Details

Summary

Fix compilation warnings under gcc13 and clang16

Additionally fix FSR options in one test JSON file

Test Plan

All tests give identical results

Diff Detail

Repository
rEVTGEN evtgen
Branch
fix_warnings
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 318
Build 318: arc lint + arc unit

Event Timeline

tlatham created this revision.
tlatham changed the visibility from "All Users" to "Public (No Login Required)".
tlatham changed the edit policy from "All Users" to "Restricted Project (Project)".
tlatham added a project: Restricted Project.
tlatham added a subscriber: Restricted Project.
src/EvtGenModels/EvtbTosllAmp.cpp
653–654

I presume this is related to an "unused" warning, as the code compiles without it.

test/jsonFiles/SVS=PHI_DALITZ__Ds_phipi_pipipi0.json
7

I think that the dm_incohMix_B_s0 is not relevant in this case, but it does not damage to have it.

tlatham added inline comments.
src/EvtGenModels/EvtbTosllAmp.cpp
653–654

Yes, that's right. It is "set but unused".

test/jsonFiles/SVS=PHI_DALITZ__Ds_phipi_pipipi0.json
7

Yes, good point. I will drop it to avoid confusion.

tlatham marked an inline comment as done.
  • Minor fix to JSON
This revision is now accepted and ready to land.Jun 20 2024, 6:58 PM