On Fri, May 4, 2018 at 9:22 AM, Bert Wesarg <bert.wes...@googlemail.com> wrote:
> Hi, > > On Wed, May 2, 2018 at 2:15 PM, Jakub Jelinek <ja...@redhat.com> wrote: > > Some code that compiled successfully with older GCC versions might > require > > source changes, see http://gcc.gnu.org/gcc-8/porting_to.html for > > details. > > in "Fortran language issues" it reads: "Prior to GCC 7", shouldn't > that be "Prior to GCC 8" or "Up to GCC 7"? > Yes, indeed it should. Thanks for noticing. > > And can somebody can tell me, whether this Fortran issue effects also > Fortran code which calls C functions? > > If it's a "normal" C function with NULL-terminated strings, then no. If it's a C function which is designed to follow the Fortran procedure ABI (where strings are passed as a pointer + a hidden length argument), then yes. -- Janne Blomqvist