FIX: Strange Name in MAP File For 27th Segment of COMMON BLOCK

Last reviewed: September 11, 1997
Article ID: Q58394
5.00 | 5.00 MS/DOS | OS/2 kbtool kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FORTRAN for MS-DOS and OS/2, version 5.0

SYMPTOMS

When you compile an application, specify the /Fm option switch to generate a MAP file, and a COMMON block in the application requires more than 26 segments, strange characters appear on the twenty- seventh and subsequent segment names in the MAP file. These characters can include smiley face, diamond, or heart characters, the letter c with a cedilla, or the letter a with an umlaut. This problem does not occur in FORTRAN version 4.1 for MS-DOS and OS/2.

RESOLUTION

Because each segment name is unique, it is not necessary to change the code. However, reducing the size of each COMMON block to require fewer than 27 segments eliminates this problem.

STATUS

Microsoft has confirmed this to be a problem with FORTRAN version 5.0 for MS-DOS and OS/2. This problem was corrected in FORTRAN version 5.1 for MS-DOS and OS/2.

MORE INFORMATION

The following code example demonstrates this problem.

Sample Code

C Compile options needed: /Fm

       PROGRAM STRANGE
       COMMON /DUMMY/ X(500000) ! requires more than 26 segments
       STOP
       END


Additional reference words: 5.00 buglist5.00 fixlist5.10
KBCategory: kbtool kbfixlist kbbuglist
KBSubCategory: FLIss
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.