[Zlib-devel] zlib 1.2.5

Cosmin Truta cosmin at cs.toronto.edu
Mon May 24 12:47:07 EDT 2010


On Mon, May 24, 2010 at 7:50 AM,  <glennrp at comcast.net> wrote:
> Should we now be distributing Gilles Vollant's zlib125dll.zip as the "official" Windows DLL?
> i.e., from http://www.winimage.com/zLibDll/index.html

That one won't work. It's ABI-incompatible, mainly because it uses a
different, non-default calling convention (stdcall). Even leaving
backwards compatibility aside, we'll run again into the problems that
we had some 10 years ago in libpng, when switching between DLL-enabled
and non-DLL-enabled builds would lead to crashes, because of the
different calling conventions used across these two kinds of builds.

Best regards,
Cosmin




More information about the Zlib-devel mailing list