[git commit nptl] warn about old-style crap in extra-annoyance-mode
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Dec 9 15:31:36 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=9ec8f5fa5fdd2c00a45e906ed507f651727e2187
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
Rules.mak | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Rules.mak b/Rules.mak
index 18d9d39..c03faf8 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
--
1.6.3.3
More information about the uClibc-cvs
mailing list