From: Jim Meyering Date: Mon, 17 Aug 2009 08:35:05 +0000 (+0200) Subject: daemon: enable -Werror and many gcc warnings when --enable-gcc-warnings X-Git-Tag: 1.0.68~36 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=9dd53bcb10283295d7fb5f0a3469be2984d99926;hp=9dd53bcb10283295d7fb5f0a3469be2984d99926;p=libguestfs.git daemon: enable -Werror and many gcc warnings when --enable-gcc-warnings * daemon/m4/gnulib-cache.m4: Add two modules: manywarnings, warnings. * daemon/configure.ac: Implement --enable-gcc-warnings, and selectively disable a few warning options that are either not useful or that provoke too many warnings for now. Define and AC_SUBST WARN_CFLAGS and WERROR_CFLAGS. * daemon/Makefile.am (guestfsd_CFLAGS): Use $(WARN_CFLAGS) and $(WERROR_CFLAGS), rather than just -Wall. ---