I have a project, console application, wroted on Fortran, for two years working in Compaq Visual Fortran 6.6.0 but now project is very big and it works takes too much time for calculations so I've decide to try Visual Studio 2010 with Visual Fortran Compiler XE 12.0 but get a several errors from very start.
First, when I've tried to open old project in new Studio (all settings are default) and built it, everything seems to goes fine but project wasn't compiled. No errors in logs, just executes an cmd-window with text "%your project.exe% is not recognized as an internal or external command, operable program or batch file".
Second. I've made a new project and add all source files and datafiles from old project, trying to compile and get these log:
"Compiling with Intel(R) Visual Fortran Compiler XE 18.104.22.168 [IA-32]...
C:\test\win\test\source\main_2c_z.FOR(89): error #7112: This actual argument must not be the name of a procedure. [M_G]
compilation aborted for C:\test\win\test\source\main_2c_z.FOR (code 1)
Build log written to "file://C:\test\win\test\test\Debug\BuildLog.htm"
test - 2 error(s), 0 warning(s)"
But there is some kind of mystery, because on 89 line in "main_2c_z.FOR" the almost same code as earlier in this file but error is only one gets.
Here is code example:
... EXTERNAL M_G,M_G1 ... CALL PART01(M_G1, ARR_A,ARR_B) ! line 81 ... CALL PART02_(M_G1, ARR_A,ARR_B) ! line 89 ...
Where M_G is subroutine with ENTRY M_G1