FIX: Error F1001 in range.c Compiling with -OxLast reviewed: September 16, 1997Article ID: Q108368 |
1.00
WINDOWS NT
kbtool kbfixlist kberrmsg
The information in this article applies to:
SYMPTOMSAn attempt to compile a program, using the -Ox option, that contains an GOTO statement in combination with the INCLUDE may fail with the following error message:
fatal error F1001: INTERNAL COMPILER ERROR (compiler file '@(#)range.c:1.0', line 2279) CAUSEThe INCLUDE file contains an array on the left side of an assignment statement, and the array is not declared. Because undeclared arrays appear as functions to the compiler, the following error message should have been generated:
error F2515: left side of assignment illegal RESOLUTIONMake sure all arrays are properly declared.
STATUSMicrosoft has confirmed this to be a problem in Microsoft FORTRAN PowerStation 32 for Windows NT, version 1.0. This problem was corrected in Microsoft PowerStation 32, version 4.0.
MORE INFORMATIONThe following program illustrates the problem:
Sample CodeC Compile options needed: -Ox
CHARACTER*130 IN INCLUDE 'ZDATA.CPY'1000 CONTINUE LOC=JNDX('TIME SERIESUSER DEFINE?',33,IN,ILEN,11) GO TO 1000 ENDC ZDATA.CPY: C The following is the content of the include file:
JABEL(I) = MBZ23 + I |
Additional reference words: 1.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |