summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-12-09 21:12:37 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-12-09 21:12:37 +0100
commit9ec8f5fa5fdd2c00a45e906ed507f651727e2187 (patch)
treee584ee8bae789e01c2b4e7904d87dfcd368d4e33
parent6ae3f8363f4ceac618c3b85a65e7c05e7c00076b (diff)
warn about old-style crap in extra-annoyance-mode
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--Rules.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 18d9d39cb..c03faf833 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -526,6 +526,7 @@ XWARNINGS=$(call qstrip,$(WARNINGS)) -Wstrict-prototypes -fno-strict-aliasing
ifeq ($(EXTRA_WARNINGS),y)
XWARNINGS+=-Wnested-externs -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wformat=2
XWARNINGS+=-Wmissing-prototypes -Wmissing-declarations
+XWARNINGS+=-Wold-style-declaration -Wold-style-definition
XWARNINGS+=-Wnonnull -Wundef
# Works only w/ gcc-3.4 and up, can't be checked for gcc-3.x w/ check_gcc()
#XWARNINGS+=-Wdeclaration-after-statement