https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84073
--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to Ed Smith-Rowland from comment #7) > Thank you. > > I was curious, is there anything/anyone working the opposite problem? > A -ffortran-interfaces converting structs to type and function protos to > module interfaces? I am not aware of anything like that. For function prototypes at least, one problem is ambiguity on the C side. Take void foo(int *a, int n); How should the corresponding Fortran subroutine look like? subroutine foo(a, n) real :: a integer :: n would be one option, subroutine foo(a,n) real :: a(*) integer :: n another.