Suppressing LNK4099 warning

Posted on Apr 7, 2012

Web page on which the issue was posted originally: http://social.msdn.microsoft.com/forums/en-US/vclanguage/thread/e3d0fcf4-84e5-478e-a44e-131449408df3

“I am afraid there is not much you can do about it. You see this warning because the third-party library was complied with either /Zi or /ZI compiler option, so a link to vc80.pdb was added to the .obj files in the library. When you link the library to your project, linker will looking for that vc80.pdb file but of course you don’t have it. So this means you can safely ignore that warning because it is just annoying. Normally you can use /ignore linker setting to ignore certain linker warnings, unfortunately this does not work for LNK4099 warning. If, however, you can talk to the library publisher, you may ask for a rebuild version SDK(without /Zi and /ZI of course) to fix the issue.”