[Top][All Lists]

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

bug#22900: new snapshot available: gzip-1.6.42-d6d4

From: Paul Eggert
Subject: bug#22900: new snapshot available: gzip-1.6.42-d6d4
Date: Sun, 6 Mar 2016 16:50:41 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Assaf Gordon wrote:

the following occur on Mac OS X 10.10.4 (and perhaps others, didn't check):
   CC       error.o
error.c:386:12: error: data argument not used by format string 
            file_name, line_number);
> ...
   CC       memrchr.o
memrchr.c:71:18: error: cast from 'const unsigned char *' to 'const longword *' 
(aka 'const unsigned long *')
       increases required alignment from 1 to 8 [-Werror,-Wcast-align]
   longword_ptr = (const longword *) char_ptr;

The above are longstanding Clang false alarms, not easily worked around as far as I know. We can safely ignore them.

   CC       gzip.o
gzip.c:1770:20: error: adding 'int' to a string does not append to the string 
                    + 4 * tm->tm_mon),
gzip.c:1770:20: note: use array indexing to silence this warning
                    + 4 * tm->tm_mon),

Thanks, I reproduced that with clang on Fedora 23 and worked around it by installing the attached patch.

Attachment: 0001-gzip-pacify-clang.patch
Description: Text Data

reply via email to

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