Skip to content

[PWGCF] Fix compiler warnings in FemtoWorld and FemtoUniverse - #18946

Merged
sawenzel merged 1 commit into
AliceO2Group:masterfrom
sawenzel:swenzel/femto-cuthist-warning
Nov 27, 2026
Merged

sawenzel merged 1 commit into
AliceO2Group:masterfrom
sawenzel:swenzel/femto-cuthist-warning

Conversation

@sawenzel

Copy link
Copy Markdown
Contributor

This commit fixes compiler warnings in the selection histograms of FemtoWorld and FemtoUniverse.

  • GCC 14 on aarch64 reports -Warray-bounds in the std::string operator+ used for the histogram name, which breaks the build when warnings are treated as errors.
  • The name is now built in place and passed to the registry as std::string.

This commit fixes compiler warnings in the selection histograms of FemtoWorld and FemtoUniverse.

- GCC 14 on aarch64 reports -Warray-bounds in the std::string operator+ used for the histogram name, which breaks the build when warnings are treated as errors.
- The name is now built in place and passed to the registry as std::string.
@github-actions

Copy link
Copy Markdown

O2 linter results: ❌ 0 errors, ⚠️ 10 warnings, 🔕 0 disabled

@sawenzel

Copy link
Copy Markdown
Contributor Author

currently broken; trivial change and reviewed by Claude Fable; merging to get AliceO2 CI back to green.

@sawenzel
sawenzel merged commit 1878baf into AliceO2Group:master Nov 27, 2026
11 of 13 checks passed
@sawenzel
sawenzel deleted the swenzel/femto-cuthist-warning branch November 27, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant