Re: [libvirt] [PATCH] maint: show which compiler warning triggered

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

 



Eric Blake wrote:
> * acinclude.m4 (LIBVIRT_COMPILE_WARNINGS): Add
> -fdiagnostics-show-option.
> ---
>
> Here's an example of how things change, when using './configure
> --enable-compiler-warnings=error' and introducing something gcc
> would warn about:
>
>   CC     libvirt_driver_nwfilter_la-nwfilter_ebiptables_driver.lo
> cc1: warnings being treated as errors
> nwfilter/nwfilter_ebiptables_driver.c: In function '_iptablesCreateRuleInstance':
> nwfilter/nwfilter_ebiptables_driver.c:1059: error: unused variable 'oops' [-Wunused-variable]

Looks fine to me.
Thanks for splitting the long line and fixing the m4 quoting, too.

--
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]