Hi,
I have the following problem, using Plato 3.15 and FTN 95 v.4.6.0: I have a module that uses CLRWIN and use that module in other modules, forming a hierarchy of usages that I'm familiar with from C++. The source code compiles with no errors, but the linker says 'WARNING - Module component WINDOW-UPDATE@ has been defined differently here than previously in object file [..], with [..] being the object file corresponding to the main program file. There are about 3-4 of these warning messages. But they don't specify where 'here' is and if I double-click on a warning I get a window repeating it and adding 'This file does not exist. Your current options prevent opening.' (which is quite a weird statement by the way).
Since the main program does little else than include all the other modules, I found out, by outcommenting certain modules and procedures, that the problem is caused by calls to WINDOW_UPDATE@ in some routines, but apparently not all. This made me suspect that it has something to do with the order of module usages. So I theorized there may be a problem with using the CLRWIN module via different dependency paths, resulting in it being used several times through several paths. I rewrote the usage structure to have a purely linear hierarchy, but the problem remained. It even caused an 'Access violation' compiler error with a lot of addresses and C functions given of which I don't know how to use them to find the error in the Fortran code. When I outcommented the use of the two modules highest in the hierarchy, the Access violation error disappeared and I had only the linker warning again.
I should perhaps mention that I'm using the IMPLICIT NONE global option and that I have a couple of 'missing symbol' warnings as well that I haven't fully checked out yet.
I guess the first problems described is the more important one. Thanks for any help you can give me. 😃
Rainer