From 9ec8f5fa5fdd2c00a45e906ed507f651727e2187 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 9 Dec 2009 21:12:37 +0100 Subject: warn about old-style crap in extra-annoyance-mode Signed-off-by: Bernhard Reutner-Fischer --- Rules.mak | 1 + 1 file changed, 1 insertion(+) (limited to 'Rules.mak') 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 -- cgit v1.2.3