[Zlib-devel] Building with C++
Paul Marquess
Paul.Marquess at ntlworld.com
Mon Mar 19 06:09:32 EDT 2012
On Behalf Of Mark Adler
> Paul,
>
> Thank you for your patches. However, I have considered all of the casting
of
> void *'s that you propose, and I have decided to not apply the patches.
If
> someone is really intent on compiling zlib in a different language than it
was
> written in, then they can either ignore the warnings or turn them off.
The way
> void *'s are converted in zlib is entirely in keeping with the definition
and
> intent of the C language, and adding the casts would detract from
readability.
Hi Mark,
That's fine.
I was working with a C++ use-case that uses some of the zlib source but it
didn't actually need the gz files I patched. Having them available
temporarily just made life easier for me. Thought I'd share the patch.
Paul
More information about the Zlib-devel
mailing list