Re: [libvirt] [PATCH] Temporarily disable format truncation warnings

2017-06-15 Thread Martin Kletzander
On Thu, Jun 15, 2017 at 02:33:34PM +0100, Daniel P. Berrange wrote: 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

[libvirt] [PATCH] Temporarily disable format truncation warnings

2017-06-15 Thread Daniel P. Berrange
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