The following minimal reproducer code causes the linker (32 bit) to output a warning message
WARNING - Module component RECUR has been defined differently here than previously in object file C:\[...]\TREC.obj (C:\[...]\TREC.obj)
I cannot explain. Removing RECURSIVE or DIMENSION of variable b allow linking without this warning. This warning does not appear while using 64 bit compiler/linker.
MODULE abc
INTERFACE
RECURSIVE FUNCTION recur(a) RESULT(b)
IMPLICIT NONE
INTEGER :: a
INTEGER, DIMENSION(2) :: b
END FUNCTION recur
END INTERFACE
END MODULE abc
PROGRAM Test
USE abc
IMPLICIT NONE
END PROGRAM Test
FTN95 Version: 8.72