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(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list