Skip to content

Conversation

@ACSimon33
Copy link
Contributor

Description

Old GFortran versions (GCC < 8) use int instead of size_t for the hidden strlen arguments appended for the char arrays. See https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gfortran/Argument-passing-conventions.html.

NAG Fortran still uses int by default. On Linux x86_64, it is configurable via the -abi=... flag.

Intel always used size_t (I think).

@langou langou merged commit 2121711 into Reference-LAPACK:master Jun 19, 2024
@ACSimon33 ACSimon33 deleted the fortran_strlen_types branch June 19, 2024 15:04
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.

2 participants