build: accommodate gnulib's new warnings with --enable-gcc-warnings
authorJim Meyering <meyering@redhat.com>
Tue, 29 Nov 2011 17:33:31 +0000 (18:33 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 29 Nov 2011 17:33:36 +0000 (18:33 +0100)
commit337e3ad58a7b6be7f146b2c14065b5188e329943
tree294b849e34fc272dbec12c6a5a6020da4ccf8810
parentd3cd190bdbd88c83fd1487c43d268a5fb1df76a2
build: accommodate gnulib's new warnings with --enable-gcc-warnings

* configure.ac (WERROR_CFLAGS): Disable two new warnings:
-Wno-format-nonliteral, -Wno-unsuffixed-float-constants.
* gzip.h (bi_reverse): Declare with _GL_ATTRIBUTE_CONST.
(gzip_base_name): Declare with _GL_ATTRIBUTE_PURE.
configure.ac
gzip.h