BUG: Incorrect F2370 or C1900 when Compiling with /4YLast reviewed: July 13, 1995Article ID: Q118392 |
The information in this article applies to:
SYMPTOMSWhen you compile a program using /4Yv that has errors in a declaration, one of the following error messages may be displayed:
RESOLUTIONCompile the code without using /4Yv to get a list of error messages. Correct the errors in the declaration(s). (The corrected code may be compiled using /4Yv.)
STATUSMicrosoft has confirmed this to be a bug in the FORTRAN PowerStation for MS- DOS, versions 1.0 and 1.0a, and the Microsoft FORTRAN PowerStation 32 for Windows NT, version 1.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONTo demonstrate the problem, compile the sample code using the option /4Yv. The following error message will be displayed in a continuous loop:
error F2370: length specification illegalTo fix the problem, compile the sample code using no options. The following error messages will be displayed:
error F2362: integer constant expression expected error F2830: END missing Sample CodeC Compile options needed: /4Yv
parameter (size=12) character*(size) ch |
Additional reference words: 1.00 1.00a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |