From 5d878dc80cce86b4e15f04602b40197f7cf9d78a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 21 Jan 2018 11:43:36 +0000 Subject: supress some gcc warnings --- Rules.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rules.mak b/Rules.mak index 418a48037..607621d2c 100644 --- a/Rules.mak +++ b/Rules.mak @@ -562,6 +562,8 @@ endif WARNING_FLAGS = -Wstrict-prototypes -Wstrict-aliasing ifeq ($(EXTRA_WARNINGS),y) WARNING_FLAGS += \ + -Wno-nonnull-compare \ + -Wnodeclaration-after-statement \ -Wformat=2 \ -Wmissing-noreturn \ -Wmissing-format-attribute \ @@ -571,7 +573,6 @@ WARNING_FLAGS += \ -Wnonnull \ -Wold-style-declaration \ -Wold-style-definition \ - -Wdeclaration-after-statement \ -Wshadow \ -Wundef endif -- cgit v1.2.3