FIX: Incorrect Results Writing Array of Structure Variables (68528)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN compiler for OS/2 5.0
This article was previously published under Q68528 SYMPTOMS
An application produces incorrect results when it writes an array
of structure variables. An attempt to compile the application with
the patched High-Capacity FORTRAN version 5.0 compiler (F1L.EXE)
and link for OS/2 fails and Microsoft LINK generates the following
message:
Error L2002: fixup overflow at 13 in segment _DATA
The application runs correctly when you compile it with the
unpatched versions of the Microsoft FORTRAN version 5.0 F1.EXE or
F1L.EXE file.
CAUSE
The application was compiled with the patched version of the F1.EXE
file or with the patched F1L.EXE file.
RESOLUTION
To address this problem, perform one of the following two steps:
- Modify the source code to change the structure variable to a
one-element array.
- Modify the source code to assign the structure variable to a
temporary variable and specify the temporary variable in the
output statement.
STATUS
Microsoft has confirmed this to be a problem in the patched version
of FORTRAN version 5.0 for MS-DOS and OS/2. This problem was
corrected in FORTRAN version 5.1 for MS-DOS and OS/2.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kbfix KB68528 |
---|
|