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. --- inffast.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'inffast.c') diff --git a/inffast.c b/inffast.c index a15876d..29eb7d8 100644 --- a/inffast.c +++ b/inffast.c @@ -8,7 +8,9 @@ #include "inflate.h" #include "inffast.h" -#ifndef ASMINF +#ifdef ASMINF +# pragma message("Assembler code may have bugs -- use at your own risk") +#else /* Decode literal, length, and distance codes and write out the resulting -- cgit v1.2.3-55-g6feb