Microsoft KB Archive/116315

{|
 * width="100%"|

FIX: Linker Ignores Statements Following INCLUDE Statement

 * }

Q116315

-

The information in this article applies to:


 * Microsoft LINK for MS-DOS, versions 5.5, 5.6, used with:
 * Microsoft Visual C++, versions 1.0, 1.5

-

SYMPTOMS
LINK ignores any statements in a .DEF file appearing after an INCLUDE line.

CAUSE
If the .DEF file specified in the INCLUDE statement contains an end-of-file character, LINK finishes processing the .DEF file and does not return to the parent .DEF file to continue processing.

RESOLUTION
To avoid the problem, do one of the following:


 * Upgrade to Visual C++ for Windows, version 1.5, because this problem was fixed with the version of LINK (5.6) provided with that product.
 * Do not use INCLUDE statements in the .DEF file
 * Make sure that the INCLUDE statement is the last line in the .DEF file.

STATUS
Microsoft has confirmed this to be a bug in Visual C++ for Windows, version 1.0. We are researching this problem and will post new information in the Microsoft Knowledge Base as soon as it becomes available.

This problem was corrected in Visual C++ for Windows, version 1.5.

Additional query words: 5.50 5.60

Keywords : kb16bitonly

Issue type :

Technology : kbAudDeveloper kbZNotKeyword3 kbLINKSearch