Closed ACSimon33 closed 3 months ago
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.
int
size_t
NAG Fortran still uses int by default. On Linux x86_64, it is configurable via the -abi=... flag.
-abi=...
Intel always used size_t (I think).
Description
Old GFortran versions (GCC < 8) use
int
instead ofsize_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).