Microsoft KB Archive/58394

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:57, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base

Article ID: 58394

Article Last Modified on 10/23/2003


  • Microsoft FORTRAN Compiler 5.0
  • Microsoft FORTRAN Compiler 5.0

This article was previously published under Q58394


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.


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.


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.


The following code example demonstrates this problem.

Sample Code

C Compile options needed: /Fm

       COMMON /DUMMY/ X(500000) ! requires more than 26 segments

Additional query words: 5.00 buglist5.00 fixlist5.10

Keywords: kbfix KB58394