Browse Source

supress some gcc warnings

Waldemar Brodkorb 6 years ago
parent
commit
5d878dc80c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Rules.mak

+ 2 - 1
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