Re: how do you send a fortran character string from GCC to GFortran ?

Liste des GroupesRevenir à cl fortran 
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.fortran
Date : 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

Date Sujet#  Auteur
2 Jan 25 * how do you send a fortran character string from GCC to GFortran ?10Lynn McGuire
2 Jan 25 +* Re: how do you send a fortran character string from GCC to GFortran ?3Thomas Koenig
2 Jan 25 i+- Re: how do you send a fortran character string from GCC to GFortran ?1Lynn McGuire
10 Jan 25 i`- Re: how do you send a fortran character string from GCC to GFortran ?1Lynn McGuire
2 Jan 25 +* Re: how do you send a fortran character string from GCC to GFortran ?5Steven G. Kargl
2 Jan 25 i`* Re: how do you send a fortran character string from GCC to GFortran ?4Lynn McGuire
3 Jan 25 i +- Re: how do you send a fortran character string from GCC to GFortran ?1Steven G. Kargl
9 Jan 25 i `* Re: how do you send a fortran character string from GCC to GFortran ?2Thomas Jahns
9 Jan 25 i  `- Re: how do you send a fortran character string from GCC to GFortran ?1Thomas Koenig
3 Jan 25 `- Re: how do you send a fortran character string from GCC to GFortran ?1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal