Sujet : Re: how do you send a fortran character string from GCC to GFortran ?
De : jahns (at) *nospam* idontlikespam.dkrz.de (Thomas Jahns)
Groupes : comp.lang.fortranDate : 09. Jan 2025, 10:25:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vlo4lm$39t6e$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
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.
Thomas