Skip to content

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

Open
sawenzel wants to merge 1 commit into
AliceO2Group:masterfrom
sawenzel:swenzel/femto-cuthist-warning
Open

sawenzel wants to merge 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

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