diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-12-09 21:12:37 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-12-09 21:12:37 +0100 |
commit | 9ec8f5fa5fdd2c00a45e906ed507f651727e2187 (patch) | |
tree | e584ee8bae789e01c2b4e7904d87dfcd368d4e33 | |
parent | 6ae3f8363f4ceac618c3b85a65e7c05e7c00076b (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.mak | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |