We have F77 code that compiles fine on a linux GNU77 box. When I bring it into the silverfrost (we use it with Microsift Development Environment, Visual Studio 2003 as the Salford FT95 add-in.
I've cleared most problems of the compiler thinking a variable was Real(kind=1) vs integrer by explictly adding INT infront of the variable.
However, I have three errors now stopping the run.
1.) Passing a subroutine into a another subroutine as a variable by declaring explicit in the calling routine. It keeps thinking the sub variable needs to be a real(kind=1) variable by the receiving subroutine. This is not correct and the language is all there to set the declarations, plus works with GUN77.
2.) I'm using the personal version and am getting Error 112: undefined variable, array element or function result (/undef). I note a copiler switch may fix this but would turn off debugging as Checkmate and debug seem to set /undef implicitly.
3.) Floating point overflow on a couple calcs. Is the divide by a very small number (exp10**33)= 0, causing the overflow? Is the personal edition limited to the precision causing this. Again, GNU77 run does not crash. I need to run the program to have the watches active (or write out some inetrmediate values before I can tell which way the overflow is going. But, can't get past items 1 and 2 to run the program until the overflow.) Could this be a windows processor 32bit OS problem that doesn't crash the linux?
We need this ported into windows for modern work. The LINUX legacy is OK but very limited for us.
Any help gratefully received.
Regards, Bill