Linker Tools Warning LNK4204
TOC
Collapse the table of content
Expand the table of content

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.

Show:
© 2016 Microsoft