]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Temporarily disable format truncation warnings
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 15 Jun 2017 13:22:54 +0000 (14:22 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 15 Jun 2017 13:22:54 +0000 (14:22 +0100)
commitf1acc4130c4d9a15fcf327f02cfc42de7eca52ff
tree73627df07a2f49d4e81e47d8ad2e6121d50c2fa5
parent1ba693994a0ed97764f2c9058e4ae1a64f1287d1
Temporarily disable format truncation warnings

GCC 7.1 introduces a new -Wformat-truncation warning
flag that reports if it thinks the maximum possible
size of the formatted output will exceed the provided
fixed buffer. This is enabled automatically by the
-Wformat warning flag. There are quite a few places
hit by this in libvirt which need rewriting. This is
non-trivial work in some places, so temporarily
disable the new warning until those fixes can be
implemented.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
m4/virt-compile-warnings.m4