FIX: Compiler Hangs If FL Environment Variable Long (76948)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 5.1
This article was previously published under Q76948 SYMPTOMS
If the FL environment variable is set with the /link option to a large
character string, the Microsoft FORTRAN version 5.1 compiler may hang. The
following environment setting will generate this error:
set fl=/link llibf7r.lib+llibc7r.lib+graphics.lib
CAUSE
A buffer within the FL.EXE program is overflowing because of the long
string passed for the /link option.
RESOLUTION
To avoid overflowing this buffer, put spaces in the string passed to the
/link option to break up the string. The example below illustrates this
solution:
set fl=/link llibf7r.lib + llibc7r.lib + graphics.lib
STATUS
Microsoft has confirmed this to be a problem in Microsoft FORTRAN version
5.1 for MS-DOS and OS/2. This problem was corrected in FORTRAN
PowerStation.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kbfix KB76948 |
---|
|