Microsoft KB Archive/104897

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


BUG: Syntax Error in Makefile with Projects > 511 Files

Article ID: 104897

Article Last Modified on 10/2/2003



APPLIES TO

  • Microsoft FORTRAN PowerStation 1.0 Standard Edition
  • Microsoft Fortran PowerStation 1.0a for MS-DOS



This article was previously published under Q104897

SYMPTOMS

The Visual Workbench cannot recognize a project makefile that contains more than 511 files. A syntax error is reported for the internal makefile.

CAUSE

An internal makefile can contain no more than 511 continuation lines, and there is a continuation line for every file in the SBR section.

RESOLUTION

There are two solutions to the project makefile problem that contains more than 511 files:

  • Load the makefile as an external makefile. -or-

  • Edit the SBR section so that it has less than 512 continuation lines. More than one file can be on each line. For example, change

    A511.SBR \
    A512.SBR

    to the following:

    A511.SBR A512.SBR

The disadvantage to the first solution is that the project cannot be edited. The disadvantage to the second solution is that it has to be redone each time the project is edited.

STATUS

Microsoft has confirmed this to be a problem in FORTRAN PowerStation for MS-DOS, version 1.0 and version 1.0a.

This is not a problem in FORTRAN PowerStation 32.


Additional query words: 1.00 nofpsnt

Keywords: KB104897