Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.2 KB

linker-tools-warning-lnk4204.md

File metadata and controls

15 lines (12 loc) · 1.2 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Linker Tools Warning LNK4204
Linker Tools Warning LNK4204
11/04/2016
LNK4204
LNK4204
14adda20-0cbe-407b-90f6-9f81c93530e2

Linker Tools Warning LNK4204

'filename' is missing debugging information for referencing module; linking object as if no debug info

The .pdb file has an erroneous signature. The linker will continue to link the object without debug information. You may want to recompile the object file using the /Zi option.

LNK4204 can occur if some of the objects in the library refer to a file that no longer exists. This could happen when rebuilding the solution, for example; an object file might be deleted and not rebuilt because of a compilation error. In this case, either compile with /Z7, or /Fd, to update the objects to refer to a single file per-library (that is not the default .pdb file name). For more information, see /Fd (Program Database File Name). Ensure that the .pdb is saved with the library every time it is updated in the source control system.