Hi Robert,

Robert Riebisch wrote:
I'm trying to build lzip 1.20 with GCC 8.20 (or 4.85) for DOS.
GCC spits an error on me. See error.log attached.

Thanks for reporting this. I think the compilation error can be fixed by changing the type of 'offset' in line 56 of encoder_base.cc to int32_t:

-    const int offset = pos - before_size - dictionary_size;
+    const int32_t offset = pos - before_size - dictionary_size;

Please, tell me if this works for you.

Best regards,
Antonio.

_______________________________________________
Lzip-bug mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lzip-bug

Reply via email to