You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@h-murai Ok, I remember this problem. RR is defined first in the function return type and therefore, when it is imported from the use statement, it becomes ambiguous.
I do not have a fix right now but I can work on one.
@g009266 What is your use case? A quick work around is to declare the return type inside the declaration part.
@clementval<https://github.com/clementval> Yes, a workaround for now is to declare it inside the function.
The actual function looks as following: integer(c_long) function fxt_faltld_wsizemax(falt) bind(c)
And we changed that to: function fxt_faltld_wsize(falt, m) bind(c)
integer(kind=c_long) :: fxt_faltld_wsizemax
But it would be nice to be able to deal with these kind of structures.
The following valid Fortran code trigger an error.
The text was updated successfully, but these errors were encountered: