Microsoft KB Archive/76948

= FIX: Compiler Hangs If FL Environment Variable Long =

Article ID: 76948

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft FORTRAN Compiler 5.1
 * Microsoft FORTRAN Compiler 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.

Additional query words: 5.10

Keywords: kbfix KB76948

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.