Re: strange linking problem
- From: nicolasbock@xxxxxxxxx
- Date: 27 Apr 2005 17:01:07 -0700
To make this even stranger, I found that the following modifications to
Parameters.F90 and Main.F90 make both version of the program work
in file Parameters.F90:
MODULE Parameters
IMPLICIT NONE
Character (len=100) :: test = "This is a test"
CONTAINS
subroutine nop ()
return
end subroutine nop
END MODULE
in file Main.F90:
PROGRAM Main
USE Parameters
IMPLICIT NONE
write (*, *) "printing test: ", test
END PROGRAM Main
subroutine nopMain ()
use Parameters
implicit none
call nop ()
return
end subroutine nopMain
.
- Follow-Ups:
- Re: strange linking problem
- From: Michel OLAGNON
- Re: strange linking problem
- References:
- strange linking problem
- From: nicolasbock
- strange linking problem
- Prev by Date: Re: why doesn't this compile ?
- Next by Date: Re: compilation problem with module function interface definition
- Previous by thread: strange linking problem
- Next by thread: Re: strange linking problem
- Index(es):