Microsoft KB Archive/70264

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

QC9103000: Incomplete Program List Causes L1080 PSS ID Number: Q70264 Article last modified on 10-28-1992 PSS database name: S_QuickC

2.50 2.51

MS-DOS

Summary:

PROBLEM ID: QC9103000

SYMPTOMS With Microsoft QuickC versions 2.5 and 2.51, Microsoft QuickC for Windows (QC/Win) version 1.0, and with Microsoft C 6.0 under Programmer’s Workbench (PWB), the following error may be generated incorrectly when compiling within the development environment:

  fatal error L1080: cannot open list file

CAUSE There may be an incomplete program list. The correct message that should be generated is:

  fatal error L1020: no object modules specified

RESOLUTION If NMAKE is run on the QuickC generated makefile, the L1020 error is properly generated.

STATUS Microsoft has confirmed this to be a problem in QuickC versions 2.5 and 2.51, in QC/Win version 1.0 (buglist1.00), and in C6.0 under PWB. We are researching this problem and will post new information here as it becomes available.

More Information:

To reproduce this behavior, follow these steps:

  1. Load any source file (for example, FILE.C) in the QuickC 2.5 or 2.51 editor.

  2. Select the Set Program List option from the Make menu.

  3. Create a Program List FILE.MAK and add any library to the list (for example, GRAPHICS.LIB). However, DO NOT add FILE.C to the Program List.

  4. Select Rebuild All from the Make menu. The compile status box flashes the word “Compiling” on the screen briefly, then the linker is invoked. The following error is generated:

    fatal error L1080: cannot open list file

When FILE.C is added to the Program List, the compilation is performed and the linker successfully produces an executable file.

In QuickC versions 2.0 and 2.01, the same initial situation produces the correct error as follows:

fatal error L1020: no object modules specified

For more information on setting the program list in QuickC version 2.5, see page 37 of the “Microsoft QuickC: Up and Running” manual.

Additional reference words: 1.00 2.00 2.50

Copyright Microsoft Corporation 1992.