Skip to content

[6.36] Fix argument passing conventions in h2root.#22568

Open
root-project-bot wants to merge 1 commit into
root-project:v6-36-00-patchesfrom
root-project-bot:BP_6.36_pull_21404
Open

[6.36] Fix argument passing conventions in h2root.#22568
root-project-bot wants to merge 1 commit into
root-project:v6-36-00-patchesfrom
root-project-bot:BP_6.36_pull_21404

Conversation

@root-project-bot

Copy link
Copy Markdown

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)
@github-actions

Copy link
Copy Markdown

Test Results

    17 files      17 suites   2d 13h 2m 37s ⏱️
 2 753 tests  2 746 ✅ 0 💤 7 ❌
45 216 runs  45 209 ✅ 0 💤 7 ❌

For more details on these failures, see this check.

Results for commit d3d55ff.

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.

3 participants