FIX: LNK4076: Invalid Incremental Status FileLast reviewed: September 18, 1997Article ID: Q138972 |
4.00
WINDOWS NT
kbtool kbbuglist kbfixlist
The information in this article applies to:
SYMPTOMSEach time a particular project is built, the linker issues this warning:
LINK: "warning LNK4076: invalid incremental status file <Project>.ilk": linking nonincrementallyFollowing this warning, the linker performs a full link.
CAUSEThe message is generated when the project's .ilk file has been corrupted. The most likely cause of this is stopping a build during the link phase by clicking Stop Build on the Build menu.
RESOLUTIONUse either of the following resolutions:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ 4.1.
MORE INFORMATIONThe .ilk file contains information for incremental linking. When you stop the build during the link phase, this file is truncated to 0 bytes. When the linker recognizes the corrupted .ilk file, it displays the warning and performs a complete link. However it does not delete the corrupted file. The presence of the corrupted .ilk file prevents the creation of a new file with the correct information during the full link. Therefore, it is necessary to delete the file manually to reinstate incremental linking.
|
Additional reference words: 4.00 4.10 3.00 3.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |