This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/84073] In -fc-prototypes fixed (nonzero) length strings are mapped to plain char in prototype.
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Jan 2018 23:12:08 +0000
- Subject: [Bug fortran/84073] In -fc-prototypes fixed (nonzero) length strings are mapped to plain char in prototype.
- Auto-submitted: auto-generated
- References: <bug-84073-4@http.gcc.gnu.org/bugzilla/>
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.