开发者

ZLib.lib(d000062.o) : warning LNK4078: multiple '.text' sections found with different attributes

开发者 https://www.devze.com 2023-02-10 09:33 出处:网络
I d开发者_Go百科ownloaded zlib from their website and I have the link warning from the title. I also compiled zlib and still have same warning. Do you know how may I fix this? I don\'t like warning of

I d开发者_Go百科ownloaded zlib from their website and I have the link warning from the title. I also compiled zlib and still have same warning. Do you know how may I fix this? I don't like warning of any kind in my projects:)

I use Visual Studio 2010.


Apparently the compiler used to generate the .lib import for the DLL isn't entirely compatible with Visual Studio:

I thought MinGW can be a one-stop shop that'll do what's needed, and we won't need anymore the awkward two-tool combination that we used to use around zlib-1.2.3. It seems we need another, even more awkward two-tool combination now.

Cosmin Truta built a new version using Visual studio. It should fix the warnings.

0

精彩评论

暂无评论...
验证码 换一张
取 消