[Bug fortran/84073] In -fc-prototypes fixed (nonzero) length strings are mapped to plain char in prototype.
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Fri Jan 26 23:12:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84073
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
See also
https://gcc.gnu.org/onlinedocs/gfortran/Further-Interoperability-of-Fortran-with-C.html#Further-Interoperability-of-Fortran-with-C
> Using assumed-shape, assumed-rank and deferred-shape arrays in BIND(C)
> procedures is not fully supported. In particular, C interoperable strings
> of other length than one are not supported as this requires the new array
> descriptor.
More information about the Gcc-bugs
mailing list