From 1e3bccd4965d34cfd34e3fed7329b1b2c4b28d1d Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Mon, 2 Jan 2017 17:25:27 -0800 Subject: Add warnings when compiling with assembler code. There have been many reports of bugs in the assembler codes intended to speed up deflate and inflate. They are third-party contributions in contrib, and so are not supported by the zlib maintainers. --- deflate.c | 1 + 1 file changed, 1 insertion(+) (limited to 'deflate.c') diff --git a/deflate.c b/deflate.c index 7817530..9161f29 100644 --- a/deflate.c +++ b/deflate.c @@ -88,6 +88,7 @@ local void putShortMSB OF((deflate_state *s, uInt b)); local void flush_pending OF((z_streamp strm)); local unsigned read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); #ifdef ASMV +# pragma message("Assembler code may have bugs -- use at your own risk") void match_init OF((void)); /* asm code initialization */ uInt longest_match OF((deflate_state *s, IPos cur_match)); #else -- cgit v1.2.3-55-g6feb