What is the proper calling convention for a C routine to call a Fortran subroutine containing a character variable in the call list.
Example C code:
Example Fortran code:
!DEC$ ATTRIBUTES DECORATE, ALIAS:'fsubr' :: FSUBR
Using the default calling convention for the Fortran code and __cdecl for the C code I end up with STRNG having an undefined address when I step into the Fortran routine.