FIX: F1001 or F1002 Compiling Program with Record Using -Zi (112345)
The information in this article applies to:
- Microsoft FORTRAN PowerStation for MS-DOS 1.0
- Microsoft FORTRAN PowerStation for MS-DOS 1.0a
- Microsoft Fortran Powerstation 32 for Windows NT 1.0
This article was previously published under Q112345 SYMPTOMS
Using FORTRAN PowerStation to compile a program containing records may
generate:
fatal error F1002: compiler is out of heap space in pass 2
fatal error F1001: INTERNAL COMPILER ERROR
(compiler file '@(#)p2symtab.c:1.89', line 1490)
The line number is 1279 when using FORTRAN PowerStation for MS-DOS.
CAUSE
This error occurs only when using the -Zi compiler option, and is related
to the number of characters in the names of the structure members and the
layout and contents of the structure.
RESOLUTION
There are three different ways to resolve these problems:
- Reorder the structure. Putting small items first often eliminates both
errors.
-or-
- Use one-character-long member names.
-or-
- Recompile without -Zi.
STATUS
Microsoft has confirmed this to be a problem in FORTRAN PowerStation for
Windows NT, version 1.0 and MS-DOS, versions 1.0 and 1.0a. This problem was
corrected in FORTRAN PowerStation 32, version 4.0.
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kbbug kbCompiler kberrmsg kbfix KB112345 |
---|
|