mirror of https://gitee.com/openkylin/libvirt.git
3502f79198
Time to update to new gnulib before a release. gcc 5.1 introduced a new -Wformat-signedness, and new gnulib now turns it on by default. However, it is still rather lame at the moment, because it warns for enums, even though there is no way to control the signeness of an enum which does not use any members that are negative or larger than INT_MAX, and even though such an enum would always print the same for both %d and %u: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66249 In file included from ../../src/util/virarch.c:26:0: ../../src/util/virarch.c: In function 'virArchFromHost': ../../src/util/virarch.c:180:15: error: format '%d' expects argument of type 'int', but argument 9 has type 'unsigned int' [-Werror=format=] VIR_DEBUG("Mapped %s to %d (%s)", So this patch turns off the new warning as part of enabling all other new gcc 5.1 warnings that gnulib now enables. * .gnulib: Update to latest, in part for gcc 5.1 interaction. * m4/virt-compile-warnings.m4: Ignore -Wformat-signedness, for now. Signed-off-by: Eric Blake <eblake@redhat.com> |
||
---|---|---|
.. | ||
virt-apparmor.m4 | ||
virt-attr.m4 | ||
virt-audit.m4 | ||
virt-avahi.m4 | ||
virt-blkid.m4 | ||
virt-capng.m4 | ||
virt-compile-pie.m4 | ||
virt-compile-warnings.m4 | ||
virt-curl.m4 | ||
virt-dbus.m4 | ||
virt-driver-bhyve.m4 | ||
virt-fuse.m4 | ||
virt-gluster.m4 | ||
virt-hal.m4 | ||
virt-lib.m4 | ||
virt-linker-no-indirect.m4 | ||
virt-linker-relro.m4 | ||
virt-netcf.m4 | ||
virt-numactl.m4 | ||
virt-openwsman.m4 | ||
virt-pciaccess.m4 | ||
virt-pkgconfig-back-compat.m4 | ||
virt-readline.m4 | ||
virt-result.m4 | ||
virt-sanlock.m4 | ||
virt-sasl.m4 | ||
virt-selinux.m4 | ||
virt-ssh2.m4 | ||
virt-systemd-daemon.m4 | ||
virt-udev.m4 | ||
virt-wireshark.m4 | ||
virt-yajl.m4 |