[Zlib-devel] zlib 1.2.7.1

Mark Adler madler at madler.net
Sun Apr 14 13:36:48 EDT 2013


On Apr 14, 2013, at 1:58 AM, Juergen Daubert <juergen.daubert at gmx.net> wrote:
> The problem was introduced with your commit 
> - Add #define ZLIB_CONST option to use const in the z_stream interface. 
>  https://github.com/madler/zlib/commit/5ab9f47745fe9353291b217f705086b6070575d5

Actually, it was introduced in a later commit:

    https://github.com/madler/zlib/commit/e9f0b78443884bfd88ead7235bcf5a6a1adae5cd

I have undone the forced application of Z_CONST for C++ compilation.  If the user wants to compile the code as if it's C++, now they'll need to define Z_CONST themselves.

Mark





More information about the Zlib-devel mailing list