Skip to content

[6.38] Fix argument passing conventions in h2root.#21410

Merged
dpiparo merged 1 commit intoroot-project:v6-38-00-patchesfrom
root-project-bot:BP_6.38_pull_21404
Feb 27, 2026
Merged

[6.38] Fix argument passing conventions in h2root.#21410
dpiparo merged 1 commit intoroot-project:v6-38-00-patchesfrom
root-project-bot:BP_6.38_pull_21404

Conversation

@root-project-bot
Copy link

Backport of #21404, requested by @hageboeck.

When variable-length strings are passed into functions compiled by
gfortran, the lengths of the strings have to be passed at the end of the
argument list as size_t. When using gcc <= 7 or clang (where the
__GNUC__ macro might return unpredictable values), we were putting int on
the C side, which got interpreted as size_t on the fortran side.

(cherry picked from commit 3a9316e)
@hageboeck
Copy link
Member

Backport for #19329

@hageboeck hageboeck linked an issue Feb 27, 2026 that may be closed by this pull request
1 task
@github-actions
Copy link

Test Results

    19 files      19 suites   2d 23h 21m 9s ⏱️
 3 715 tests  3 715 ✅ 0 💤 0 ❌
68 854 runs  68 854 ✅ 0 💤 0 ❌

Results for commit 3b071b4.

@dpiparo dpiparo merged commit 93f8668 into root-project:v6-38-00-patches Feb 27, 2026
27 of 29 checks passed
@dpiparo dpiparo deleted the BP_6.38_pull_21404 branch February 27, 2026 19:47
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.

h2root fragilities

3 participants