[Libguestfs] [PATCH libguestfs 13/13] daemon: enable -Werror and many gcc warnings when --enable-gcc-warnings

Richard W.M. Jones rjones at redhat.com
Mon Aug 17 09:25:00 UTC 2009


On Mon, Aug 17, 2009 at 11:11:04AM +0200, Jim Meyering wrote:
> From: Jim Meyering <meyering at redhat.com>
> 
> * 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.

Good change, ACK.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list