The following code snippet seems to be working fine in debug and causing access violations in release:
!------------------------------------------ ! c_string to character string conversion. function f_string(cStr,fStr_size) result (fStr) type(c_string) :: cStr integer :: fStr_size character(len=fStr_size) :: fStr !call c_string_to_character_string(fStr,cStr) end function f_string
Perhaps it is illegal to have the return length specified by dummy arg?



