FIX: Compiler Hang with /Zi or /Od, INTERFACE Statement (77258)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 5.1
This article was previously published under Q77258 SYMPTOMS
Compiling a source file containing a FORTRAN subroutine and a corresponding
INTERFACE statement for that subroutine may cause the FORTRAN version 5.1
compiler to hang the machine under MS-DOS when the /Zi or /Od option is
used. The code that exhibits this error must have a subroutine that is
expecting a structure element and an array as arguments. Compiling this
same source file under OS/2 may generate a protection violation during the
first pass of the compiler.
RESOLUTION
Removing the array, /Zi option, structure, or INTERFACE statement
eliminates the problem. Switching the order of the arguments within the
INTERFACE statement and subroutine call will also eliminate the problem.
STATUS
Microsoft has confirmed this to be a problem in Microsoft FORTRAN version
5.1 for MS-DOS and OS/2. This problem was corrected in FORTRAN
PowerStation, version 1.0.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kbfix KB77258 |
---|
|