Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/104897

From BetaArchive Wiki
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