The following code works fine in 32bit but not in 64bit:
!ftn95$free
module test
contains
SUBROUTINE TESTOUTER(IWIN, IEVENT, C80)
CHARACTER*(*) :: C80
interface
subroutine TESTINNER(iwin, ievent, c80)
character*(*) :: c80
end subroutine
end interface
SAVE
CALL TESTINNER(iwin, ievent, c80)
END SUBROUTINE
subroutine TESTINNER(iwin, ievent, c80)
character*(*) :: c80
PRINT*,iwin, ievent, c80
End subroutine
end module test
program main
use test
character*20 :: c80
c80 = 'test'
IWIN=1
IEVENT = 10
call TESTOUTER (IWIN, IEVENT, C80)
end program
In 32bit it works fine, but in 64bit:
**[SLINK64 v2.10, Copyright (c) Silverfrost Ltd. 2015-2018] Loading C:\wlib64s\test-interface2\main.obj Creating executable file main.exe The following symbols were not defined:
TESTINNER**