[libvirt] [PATCH 0/2] workaround bogus GCC

Martin Kletzander mkletzan at redhat.com
Mon Apr 11 09:32:19 UTC 2016


On Sun, Apr 10, 2016 at 06:37:57PM +0200, Pavel Hrdina wrote:
>This combines Eric's and Cole's ideas together with configure check for GCC that
>is affected by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602.
>

I think it's a good compromise that doesn't pollute the code very much
and keeps the warning-disablement damage level very low, so ACK series
so that we build successfully.  We can work on it later if we want even
better results instead of bikesheding on this solution.

>Pavel Hrdina (2):
>  build: cleanup GCC < 4.6 -Wlogical-op workaround
>  build: add GCC 6.0 -Wlogical-op workaround
>
> m4/virt-compile-warnings.m4     | 22 +++++++++++++++++++++-
> src/fdstream.c                  |  4 ++++
> src/internal.h                  | 22 ++++++++++++++++++++++
> src/rpc/virnetsshsession.c      |  6 ++++++
> src/security/security_selinux.c |  2 ++
> src/util/virbuffer.c            | 11 +++--------
> src/util/virstring.c            |  9 +--------
> src/util/virsysinfo.c           | 13 ++-----------
> 8 files changed, 61 insertions(+), 28 deletions(-)
>
>--
>2.8.1
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160411/acdfdd4b/attachment-0001.sig>


More information about the libvir-list mailing list