Linking to the libcef_dll_wrapper library that comes with binary releases
causes many linker warnings of type LNK4099.
The warning occurs because libcef_dll_wrapper is compiled using the /Zi flag,
which means the linker expects to find debug symbols in a separate pdb file,
however the pdb file isn't shipped as part of a binary release.
The reason this is especially annoying is that Visual Studio doesn't allow you
to suppress LNK4099 warnings.
One way to fix the warning would be to compile libcef_dll_wrapper using the /Z7
compiler flag, which embeds the debug information into the .lib file. /Z7 is
incompatible with the minimal rebuild feature, but cef doesn't use this feature
anyway.
MSDN says /Z7 can be a could option for library distributors
(http://msdn.microsoft.com/en-us/library/958x11bc(v=vs.80).aspx)
I've attached a patch that would set the appropriate flag if you're interested.
Note: libcef.lib is an import library, so doesn't have this issue.
Original issue reported on code.google.com by philgates@gmail.com on 21 Oct 2011 at 12:15
Original issue reported on code.google.com by
philgates@gmail.com
on 21 Oct 2011 at 12:15Attachments: