Hi!
Following your comments on the "allocatable components and mixed-
language" thread, I have come across another problem, though this one
surely is easier to tackle:
I define something like
MODULE MyMod
TYPE :: MyType
! stuff
END TYPE MyType
INTERFACE
SUBROUTINE Foobar(mt)
TYPE(MyType) :: mt
END SUBROUTINE Foobar
END INTERFACE
END MODULE MyMod
i.e. a user type and some functions* that work on it. Both the GNU and
Intel compilers complain they don't know about MyType, which I could
mend with USE MyMod, if only this wouldn't be recursive...
Do I really need to define my interfaces in a separate module so I can
USE MyMod?
*Foobar is written in C, that's why I define this explicit interface
together with BIND(C) and friends.
Thanks!
Dennis