The information in this article applies to:
SYMPTOMSUsing FORTRAN PowerStation to compile a file that contains a subprogram using a formal argument that has the same name as that subprogram may produce the following errors under Windows NT: These error messages are then followed by a stack overflow exception. When using FORTRAN PowerStation for MS-DOS, the F2209 error is generated. If compiling from the Visual Workbench, the following errors also occur:
The F2040 and F2037 errors scroll repeatedly showing negative line numbers, until finally the compiler crashes with a DX1020 general protection (GP) fault error. The F2040 and F2037 errors do not occur if compiled from the MS-DOS command line, but the DX1020 error does. In all cases the F2209 error is correct. CAUSEThis error occurs only when using the -Zi compiler option. RESOLUTIONCorrect the error by renaming the formal argument. Then recompile with -Zi. STATUSMicrosoft has confirmed this to be a problem in FORTRAN PowerStation version 1.0 and 1.0a for MS-DOS, and version 1.0 for Windows NT. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONThe sample below illustrates the problem: Sample Code
Additional query words: 1.00 1.00a Dr. Watson subroutine
Keywords : |
Last Reviewed: November 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |