Skip to content

Misc fixes#306

Draft
bonachea wants to merge 3 commits intoBerkeleyLab:mainfrom
bonachea:misc-fixes
Draft

Misc fixes#306
bonachea wants to merge 3 commits intoBerkeleyLab:mainfrom
bonachea:misc-fixes

Conversation

@bonachea
Copy link
Member

@bonachea bonachea commented Mar 12, 2026

A dumping ground for miscellaneous fixes I've stumbled across in the course of other work

Add explicit casts to avoid some harmless integer sign warnings.
The bug workaround for GFortran's non-compliant c_funloc is moved
into a separate helper, where it can be called from Fortran.

This helps to improve the precision of the workaround, because it
enables placing its conditional invocation in the same translation
unit where the problematic call to c_funloc appears.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant