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

ID: Q83979


The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS, version 5.1
  • Microsoft FORTRAN for OS/2, version 5.1


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


  2. -or-

  3. Out of Memory


  4. -or-

  5. 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"01234567890123456789" 
Using the /Ss switch in the command line will work correctly,

     FL /c /Ss"01234567890123456789" test.for 

Additional query words: nofps 5.10

Keywords :
Version : :5.1
Platform :
Issue type :


Last Reviewed: November 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.