[Zlib-devel] [PATCH] Usage of const/z_const, with and without ZLIB_CONST
Daniel Richard G.
oss at teragram.com
Thu Aug 16 13:02:04 EDT 2012
On Mon, 13 Aug 2012, Mark Adler wrote:
> Of course, zlib still compiles cleanly without -Wcast-qual, with or
> without ZLIB_CONST. However -Wcast-qual without ZLIB_CONST results in
> four inescapable warnings, if backwards compatibility is to be retained
> with the zlib.h interface.
I understand the need to retain interface compatibility without
ZLIB_CONST, but am glad that with that #defined, everything is now
const-clean. Thanks for getting the trickier bits sorted out.
--Daniel
--
Daniel Richard G. || danielg at teragram.com || Software Developer
Teragram Linguistic Technologies (a division of SAS)
http://www.teragram.com/
More information about the Zlib-devel
mailing list