summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-01-21 11:43:36 (GMT)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-01-21 11:48:00 (GMT)
commit5d878dc80cce86b4e15f04602b40197f7cf9d78a (patch)
tree0477733b28de4e45bf2fd7d5e9e1a21d105eaf22
parenta9a752b0cede664f641502c2ab87a6735fe8d889 (diff)
supress some gcc warnings
-rw-r--r--Rules.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 418a480..607621d 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