The information in this article applies to:
SYMPTOMSUsing FORTRAN PowerStation for Windows NT to compile subprograms that pass arguments by value (either by using [C] or [VALUE]) may produce an "access violation" application error message box when compiling with both -G3 and - Ox. CAUSEThis compile-time error appears to be caused by either passing mismatched arguments by value, or by passing expressions by value in the argument list. RESOLUTIONWhen using -G3 and -Ox and passing by value, always match argument lengths and types and do not pass expressions. STATUSMicrosoft has confirmed this to be a problem in Microsoft FORTRAN PowerStation for Windows NT, version 1.0. This problem was corrected in FORTRAN PowerStation 32, version 4.0. MORE INFORMATIONThe following sample passes expressions by value, and will cause the compiler to generate an access violation when compiling with -G3 -Ox: Sample Code
Additional query words: 1.00 Dr. Watson
Keywords : kbCompiler kbFL32 kbFortranPS |
Last Reviewed: November 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |