lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lzip-bug] Building lzip 1.20 with DJGPP 2.05


From: Antonio Diaz Diaz
Subject: Re: [Lzip-bug] Building lzip 1.20 with DJGPP 2.05
Date: Sun, 04 Nov 2018 22:50:30 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]