]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
build: reduce warnings from older gcc
authorEric Blake <eblake@redhat.com>
Mon, 5 Dec 2011 17:14:55 +0000 (10:14 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 5 Dec 2011 17:14:55 +0000 (10:14 -0700)
commitf17e0e2182ecefd9ba9eb346bab839cd5b59fb9c
tree1f57be5d5f372182d90d79e2e23bcd8333bfacbf
parent9bfa132c7078f8574765534a45af18e11212deed
build: reduce warnings from older gcc

Older gcc warns (on every file!) that -Wabi and -Wdeprecated only
make sense on C++ projects.  Newer gcc accepts these warnings for
C, but it is not clear that they can do anything useful, so it
is easier to just drop the warnings altogether.

* m4/virt-compile-warnings.m4 (LIBVIRT_COMPILE_WARNINGS): Silence
-Wabi and -Wdeprecated on older gcc.
Reported by Peter Krempa.
m4/virt-compile-warnings.m4