aboutsummaryrefslogtreecommitdiff
path: root/deflate.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2017-01-02 17:25:27 -0800
committerMark Adler <madler@alumni.caltech.edu>2017-01-02 17:28:27 -0800
commit1e3bccd4965d34cfd34e3fed7329b1b2c4b28d1d (patch)
tree50f3dffd5c8cc06cd03af31d4b81bac5b7a6be0e /deflate.c
parentc7d77756d01210790b6d87442eba83dcc586a305 (diff)
downloadzlib-1e3bccd4965d34cfd34e3fed7329b1b2c4b28d1d.tar.gz
zlib-1e3bccd4965d34cfd34e3fed7329b1b2c4b28d1d.tar.bz2
zlib-1e3bccd4965d34cfd34e3fed7329b1b2c4b28d1d.zip
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.
Diffstat (limited to 'deflate.c')
-rw-r--r--deflate.c1
1 files changed, 1 insertions, 0 deletions
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));
88local void flush_pending OF((z_streamp strm)); 88local void flush_pending OF((z_streamp strm));
89local unsigned read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); 89local unsigned read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
90#ifdef ASMV 90#ifdef ASMV
91# pragma message("Assembler code may have bugs -- use at your own risk")
91 void match_init OF((void)); /* asm code initialization */ 92 void match_init OF((void)); /* asm code initialization */
92 uInt longest_match OF((deflate_state *s, IPos cur_match)); 93 uInt longest_match OF((deflate_state *s, IPos cur_match));
93#else 94#else