The information in this article applies to:
SYMPTOMSAn attempt to compile an application fails and Microsoft FORTRAN PowerStation version 1.0 for MS-DOS displays the following message: FORTRAN PowerStation version 1.0a for MS-DOS displays the following error message:
CAUSEThe command line specifies the /Ox optimization and the code contains an expression that computes a negative integer power of a constant integer or of an integer expression. The error above occurs when the compiler processes the unary minus operator in an integer exponentiation expression. RESOLUTION
There are two methods to work around this problem:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was fixed in FORTRAN PowerStation 32, version 4.0. MORE INFORMATIONThe following sample code demonstrates this problem: Sample Code #1
The following sample code demonstrates one method to work around this
problem:
Sample Code #2
Additional query words: 1.00 1.00a
Keywords : kberrmsg kbCompiler kbFL32 kbFortranPS |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |