diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-01-21 11:43:36 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-01-21 11:48:00 +0000 |
commit | 5d878dc80cce86b4e15f04602b40197f7cf9d78a (patch) | |
tree | 0477733b28de4e45bf2fd7d5e9e1a21d105eaf22 | |
parent | a9a752b0cede664f641502c2ab87a6735fe8d889 (diff) |
supress some gcc warnings
-rw-r--r-- | Rules.mak | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |