diff mbox

[3/3] Disable -Wint-in-bool-context

Message ID 1498584945-9701-4-git-send-email-marmarek@invisiblethingslab.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marek Marczykowski-Górecki June 27, 2017, 5:35 p.m. UTC
GCC 7 is too sensitive here.
See https://bugs.debian.org/853710

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
---
 Config.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Jan Beulich June 27, 2017, 6:47 p.m. UTC | #1
>>> Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> 06/27/17 7:35 PM >>>
>GCC 7 is too sensitive here.
>See https://bugs.debian.org/853710

The issue pointed out in that bug was fixed already without disabling the
generally useful warning. That fix has been backported to the 4.8 branch
already.

Jan
diff mbox

Patch

diff --git a/Config.mk b/Config.mk
index 1ddcd58..7af5af9 100644
--- a/Config.mk
+++ b/Config.mk
@@ -216,6 +216,7 @@  $(call cc-option-add,HOSTCFLAGS,HOSTCC,-Wdeclaration-after-statement)
 $(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement)
 $(call cc-option-add,CFLAGS,CC,-Wno-unused-but-set-variable)
 $(call cc-option-add,CFLAGS,CC,-Wno-unused-local-typedefs)
+$(call cc-option-add,CFLAGS,CC,-Wno-int-in-bool-context)
 
 LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) 
 CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))