Microsoft KB Archive/83979

= BUG: Compiler Error with the /Ss Switch in the Environment =

Article ID: 83979

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 Q83979



SYMPTOMS
The /Ss option for the FL environment variable has a limited length of approximatly 16 chars. Otherwise, one of the following errors will occur during compilation:


 * 1) Run-time error R6001, null pointer assignment -or-


 * 1) Out of Memory -or-


 * 1) The compiler may also crash without giving any error messages.



RESOLUTION
Shorten the command line for the /Ss parameter.



STATUS
Microsoft has confirmed this to be a problem in FORTRAN version 5.1 for MS-DOS and OS/2.

NOTE: The /Ss option is not supported by FORTRAN PowerStation.



MORE INFORMATION
The following code can be used to demonstrate the problem.

Sample Code
The following will cause the error, SET FL=/Ss&quot;01234567890123456789&quot; Using the /Ss switch in the command line will work correctly, FL /c /Ss&quot;01234567890123456789&quot; test.for

Additional query words: nofps 5.10

Keywords: KB83979

-

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

© Microsoft Corporation. All rights reserved.