English 中文(简体)
如何清除警告4099
原标题:How to clear the link warning 4099

在我2005年的解决办法中,在建立这一解决办法时,将展示一些警告,如“警告LNK4099:PDB libbmt”。 pdb没有找到。 但是,我不知道可以否认这一点。

问题回答

它不能残疾,因为它被列入微软不可调和的警告清单。

如果你有你使用的图书馆的来源,你就可以在德布尔模式中重建这些图书馆,并将产生的文件 *.pdb与你所连接的校准相复制。

If you do not have the source, there is a workaround, but it involves hex-editing the linker: https://connect.microsoft.com/VisualStudio/feedback/details/176188/can-not-disable-warning-lnk4099

Essentially, hex edit your link.exe (after backing it up!) to zap the occurrence of 4099 in the list of non-ignorable warnings. I did it and the hundred or so 4099 warnings disappeared! [L]ook for the hex bytes 03 10 00 00 (which is 4099 as a 32-bit little-endian hex value). Change it to (say) FF FF 00 00, save the file and you re done.

我不知道2005年VS,但在更新的版本中,你可以通过添加<代码>/ignore:4099<>/code>而忽略具体的联系警告。

“





相关问题
how to reliable capture display setting changed

static void Main() { // Set the SystemEvents class to receive event notification when a user // when display settings change. SystemEvents.DisplaySettingsChanged += new ...

Why use CComBSTR instead of just passing a WCHAR*?

I m new to COM. What exactly is the advantage of replacing: L"String" with CComBSTR(L"String") I can see a changelist in the COM part of my .NET application where all strings are replaced in this ...

COM Basic links

folks can you provide me the tutorial link or .pdf for learning basic COM?. i do google it.. still i recommend answers of stackoverflow so please pass me.. Thanks

Statically linking Winsock?

I m using Winsock 1.1 in my project. I include wsock32.lib in "Additional Dependencies". I m looking at the DLL project using depends.exe and notice that the DLL depends on wsock32.dll. How can I ...

热门标签