BUG: F2124: CODE GENERATION ERROR w/Adjustable Arrays and $LARGELast reviewed: July 11, 1995Article ID: Q65049 |
The information in this article applies to:
SYMPTOMSThe error
F2124: CODE GENERATION ERRORoccurs when using adjustable-sized, three-dimensional arrays and the huge memory model with Microsoft FORTRAN version 5.0 or 5.1. This does not apply to FORTRAN PowerStation, because huge memory model is not supported.
RESOLUTIONCompiling with the /Od option will eliminate this error. Changing the order and size of the subscripts may also eliminate this error.
STATUSMicrosoft has confirmed this to be a problem in FORTRAN versions 5.0 and 5.1.
MORE INFORMATIONThe following sample code generates error F2124 when compiled with the /AH switch or $LARGE metacommand:
SUBROUTINE X( a,b,i,j,m ) DIMENSION a(m,2,2), b(2,m,2) a(i,2,1) = b(j,i,2) RETURN END |
Additional reference words: 5.00 5.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |