I have a customer w/ a large solution composed of many projects. Several of the projects are getting LNK2011. When he compiles w/o using PCH, everything is fine, (but slow).
Additionally, there is a LNK1120 message: "fatal error LNK1120: 1 unresolved externals", but no symbols are listed, and we don't get the LNK2011 message, so it makes no sense whatsoever.
This is an MFC project created w/ the MFC wizard, using PCH thru stdafx.cpp, (and stdafx.h). The stdafx.obj file is on the linker command line.
Can anyone shed some light on what triggers LNK2011? Ie: What makes the linker *think* the the PCH object is not included?