[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH] fix build warnings with newer zlib
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] [PATCH] fix build warnings with newer zlib |
Date: |
Thu, 24 May 2012 22:09:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Mike Frysinger <address@hidden> writes:
> The gz* API from zlib takes a "gzFile", not a "gzFile*". Older
> versions of zlib didn't trigger a warning due to how the funcs
> were written, but newer ones do. So tweak the type (which in
> reality shouldn't change anything since it's a typedefed pointer)
> to work with old/new versions.
Then we should check, trough the configure script, that the zlib version
used supports this new type. I don't think there are problems to force
the zlib version >= the last one supporting the new type, I am not
particularly worried about not supporting old versions of the libraries.
Thanks,
Giuseppe