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

From: Assaf Gordon <[email-masked]>
Date: Sun, 6 Mar 2016 18:49:27 -0500

Hello,

The latest git version ( 1.6.48-ef80 with all the mentioned fixes ) compiles and tests OK on OpenSolaris 5.11 and AIX-7, when built from a tarball ,
Also no test failures on Mac OS X 10.9.5, 10.10.5, 10.11.3 (when building from tarball).

However,
when building from git (with './bootstrap' and eventually "-Werror"),
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 [-Werror,-Wformat-extra-args]
           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;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
===
  CC       gzip.o
gzip.c:1770:20: error: adding 'int' to a string does not append to the string [-Werror,-Wstring-plus-int]
                   + 4 * tm->tm_mon),
                   ^~~~~~~~~~~~~~~~
gzip.c:1770:20: note: use array indexing to silence this warning
                   + 4 * tm->tm_mon),
                   ^
====

The compiler is:
===
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
===

regards,
 - assaf