Silverfrost Forums

Welcome to our forums

Can linker be more specific ?

17 Aug 2012 4:45 #10639

I get linker diagnostics which looks like this

WARNING - Common block 'ZWADLPRIORITY/' was previously defined in object file c:\XXXX\YYYY\ZZZZ.obj as size 8288 but is now defined as size 7880 (c:\XXXX\YYYY\AAAA.obj)

WARNING the following symbols are missing: MODULE MSW32PRM c:\XXXX\YYYY\ZZZZ.obj (c:\XXXX\YYYY\ZZZZ.FOR) MODULE CLRWIN c:\XXXX\YYYY\ZZZZ.obj (c:\XXXX\YYYY\ZZZZ.FOR) IZZZMINC c:\XXXX\YYYY\AAAA.obj (c:\XXXX\YYYY\AAAA.FOR) IZZZMAXC c:\XXXX\YYYY\BBBB.obj (c:\XXXX\YYYY\BBBB.FOR) TTREZPART1 Linker generated

It is very very hard to find where these violations happen if Fortran files contain hundreds of subroutines. Can linker say in which specific subroutine instead of specific file violations actually took place ?

Want even some fun? I tried and could not find the place for couple above warning which say i am missing major compiler modules like CLRWIN somewhere LOL. All works fine but these warnings are here for YEARS!

17 Aug 2012 6:42 #10641

I can see the problem of trying to debug a large amount of legacy code that was developed using a third party compiler.

I will put your request on the wish list.

17 Aug 2012 7:34 #10642

Paul, Will be glad and appreciate very much. That will also definitely improve user-friendliness of the compiler for large codes which often have large Fortran source files with multiple subroutines in each.

Also , if you look at this list above, what is the strange unusual warning at the end:

'TTREZPART1 Linker generated' ?

TTREZPART1 is one of subroutines, what is wrong with it?

The only what i could imagine as unusual here - it was intended to be one of two subroutines working in parallel in two threads in NET...So is this NET related warning?

Please login to reply.