Deutsch English Français Italiano |
<vlo7d1$3a54k$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Thomas Koenig <tkoenig@netcologne.de> Newsgroups: comp.lang.fortran Subject: Re: how do you send a fortran character string from GCC to GFortran ? Date: Thu, 9 Jan 2025 10:11:45 -0000 (UTC) Organization: A noiseless patient Spider Lines: 12 Message-ID: <vlo7d1$3a54k$2@dont-email.me> References: <vl5ima$38li7$1@dont-email.me> <vl6mjm$3f5mv$1@dont-email.me> <vl74gk$3hpbc$1@dont-email.me> <vlo4lm$39t6e$1@dont-email.me> Injection-Date: Thu, 09 Jan 2025 11:11:46 +0100 (CET) Injection-Info: dont-email.me; posting-host="a5323f250f3ccc2312f42a14769c3822"; logging-data="3478676"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BQLTYNYyURmvFDqhjrWnAdSZQBdAN058=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:y96awsA0Ru5LpXL3JqQ+D+omseI= Bytes: 1490 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.