Re: [PATCH] build: avoid -Wno-format on new-enough gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 02, 2012 at 08:55:45 -0600, Eric Blake wrote:
> Commit c579d6b added a sledgehammer to silence spurious warnings from
> gcc 4.2, but in the process, it also silenced useful warnings from
> newer gcc (such as 4.4).  As a result, a bug slipped in to commit 0caccb58.
> 
> Tested with FreeBSD (gcc 4.2.1), RHEL 6.3 (gcc 4.4), and F17 (gcc 4.7.2).
> 
> * m4/virt-compile-warnings.m4 (-Wno-format): Probe for the actual
> spurious message, to once again allow gcc 4.4 to use -Wformat.
> ---
>  m4/virt-compile-warnings.m4 | 19 ++++++++++++++++++-
>  1 file changed, 18 insertions(+), 1 deletion(-)

ACK

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]