Skip to content

Fix compiler warnings and errors related to dictionaries - #15844

Merged
ktf merged 2 commits into
AliceO2Group:devfrom
sawenzel:swenzel/interactionsampler-classdefoverride
Sep 25, 2026
Merged

ktf merged 2 commits into
AliceO2Group:devfrom
sawenzel:swenzel/interactionsampler-classdefoverride

Conversation

@sawenzel

Copy link
Copy Markdown
Collaborator

Fix compiler warnings and errors related to dictionaries

This fixes the -Winconsistent-missing-override warnings in InteractionSampler.h.

- FixedSkipBC_InteractionSampler and NonUniformMuInteractionSampler derive from InteractionSampler, which already has a ClassDef.
- Their plain ClassDef produced override warnings for IsA, ShowMembers, Streamer and CheckTObjectHashConsistency.
- Both now use ClassDefOverride.

https://ali-ci.cern.ch/alice-build-logs/AliceO2Group/AliceO2/15843/ee5503a4c432ac109fab4860dde02f104c65e5a6/build_O2_gpu-test-slc10-x86/pretty.html
This fixes the rootcling "missing ; at end of rule" errors in four LinkDef files.

- Three rules in TPCBaseLinkDef.h and the GeometryTGeo rules of ALICE3 ECal, RICH and MID lacked the closing semicolon.
- rootcling rejected the three ALICE3 rules, so their GeometryTGeo classes had no dictionary.
- The TPC dictionary is unchanged by the fix.

https://ali-ci.cern.ch/alice-build-logs/AliceO2Group/AliceO2/15843/ee5503a4c432ac109fab4860dde02f104c65e5a6/build_O2_gpu-test-slc10-x86/pretty.html
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 5cdf022 at 2026-09-25 09:07:

No log files found

Full log here.

@ktf
ktf merged commit 341b315 into AliceO2Group:dev Sep 25, 2026
8 of 11 checks passed
@ktf

ktf commented Sep 25, 2026

Copy link
Copy Markdown
Member

Currently broken. Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants