Microsoft KB Archive/83940

{|
 * width="100%"|

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

 * }

Q83940

-

The information in this article applies to:


 * The Microsoft Linker (LINK.EXE), version 1.0, used with:
 * Microsoft C/C++ for MS-DOS, version 7.0
 * Microsoft Visual C++, version 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:

(wcore.asm): warning L4000: segment displacement included

near in segment (null)

frame segment $$PCD_INTERP, target segment $$PCD_INTERP,

frame segment 42c

"-or-"

(wcore.asm): warning L4000: segment displacement included

near 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 query words: 7.00 1.00 pcode plus

Keywords : kb16bitonly

Issue type :

Technology : kbVCsearch kbAudDeveloper kbLINKSearch