Microsoft KB Archive/70264: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (X010 moved page Microsoft KB Archive/Q70264 to Microsoft KB Archive/70264 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
 
(No difference)

Latest revision as of 19:29, 12 August 2020

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.