Microsoft KB Archive/49495

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:56, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 49495

Article Last Modified on 12/8/2003



APPLIES TO

  • Microsoft FORTRAN Compiler 5.0
  • Microsoft FORTRAN Compiler 5.1
  • Microsoft FORTRAN Compiler 5.0
  • Microsoft FORTRAN Compiler 5.1



This article was previously published under Q49495

SYMPTOMS

An attempt to compile an application fails and the compiler generates one of the following messages. For FORTRAN version 5.0:

fatal error F1001: Internal Compiler Error
(compiler file '@(#)ctypes.c:1.11', line 1657)

For FORTRAN version 5.1:

fatal error F1001: Internal Compiler Error
(compiler file '@(#)ctypes.c:1.12', line 1655)

CAUSE

The application source code contains the $NOLOOPOPT metacommand.

RESOLUTION

To work around this problem, perform one of the following two steps:

  • Modify the source code to remove the $NOLOOPOPT metacommand.
  • Specify the /Od compiler option switch to suppress the optimization.


STATUS

Microsoft has confirmed this to be a problem in FORTRAN versions 5.0 and 5.1 for MS-DOS and OS/2. This problem was corrected in FORTRAN PowerStation.

MORE INFORMATION

The following code example demonstrates this problem.

Sample Code

C Compile options needed: None
$NOLOOPOPT
      END
                


Additional query words: 5.00 5.10

Keywords: kbbug kbfix KB49495