BUG: Linking P-Code with /w Option Gives L4000 Warnings

ID: Q83940

7.00 | 1.00 MS-DOS | WINDOWS kbtool kbbuglist

The information in this article applies to:

   The Linker (LINK.EXE), included with:
    - Microsoft C/C++ for MS-DOS, version 7.0
    - Microsoft Visual C++ for Windows, versions 1.0

SYMPTOMS

Linking a p-code application with the /w option causes more than 500 warnings if the application was built with Microsoft C/C++ version 7.0 and Visual C++ version 1.0. The warnings are of the form:

   <lib>(wcore.asm): warning L4000: segment displacement included
      near <offset> in segment (null)
   frame segment $$PCD_INTERP, target segment $$PCD_INTERP,
      frame segment 42c

   -or-

   <lib>(wcore.asm): warning L4000: segment displacement included
      near <offset> in segment (null)
   target external '__pcdi_snMac'

CAUSE

The warnings may be caused by an incorrect ASSUME directive in the p- code interpreter source (segment instead of group).

RESOLUTION

After running the Make P-Code utility (MPC) on the resulting executable, it runs without error.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional reference words: 7.00 1.00 pcode plus KBCategory: kbtool kbbuglist KBSubcategory: LinkIss Keywords : kb16bitonly

Last Reviewed: July 18, 1997