Sujet : Re: how do you send a fortran character string from GCC to GFortran ?
De : tkoenig (at) *nospam* netcologne.de (Thomas Koenig)
Groupes : comp.lang.fortranDate : 09. Jan 2025, 11:11:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vlo7d1$3a54k$2@dont-email.me>
References : 1 2 3 4
User-Agent : slrn/1.0.3 (Linux)
Thomas Jahns <
jahns@idontlikespam.dkrz.de> schrieb:
On 2025-01-02 23:38, Lynn McGuire wrote:
Isn't the character string length variable "slen" a value parameter and size_t
type ?
>
Depends: gfortran 8 and subsequent versions use size_t, older versions and other
compilers use int AFAIK.
>
I guess, handling strings beyond 2GB is not a particular strength of Fortran
anyway, so I don't know why that change was made.
There should be as few artificial limitations in a compiler as possible.