BUG: Large BLOCK DATA and /Od Causes F1038 in Pass ThreeLast reviewed: July 6, 1995Article ID: Q86747 |
The information in this article applies to:
SYMPTOMSExtremely large BLOCK DATA subprograms or code that contains a very large number of DATA statements may cause the compiler to generate the following error:
fatal error F1038: unexpected end of file in Pass 3This error has only been observed when the /Od compiler option was used.
CAUSEThe /Od option causes the compiler to use F3S.EXE for the third pass of the compile. This small memory model version of the third pass has less capacity than the standard third pass, F3.EXE. The extremely large number of DATA statements exceeds the capacity of this small model component.
RESOLUTIONUse the /B3 option to force the compiler to use F3.EXE rather than the small model F3S.EXE or eliminate the /Od option. Here is an example compile command line:
fl /Od /B3 F3.EXE test.for STATUSMicrosoft has confirmed this to be a problem in FORTRAN version 5.1. This is not an issue in FORTRAN PowerStation.
|
Additional reference words: 5.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |