diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-28 23:05:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-28 23:05:17 +0000 |
commit | d50a7288ddcf402a963d4b4ca847840e799e941d (patch) | |
tree | 8429aa802122eb7c04e2170d99fa23a40f5e0205 /Rules.mak | |
parent | 127716a5ee0e8984663b58833d36788b9aa15466 (diff) |
Bernhard Fischer writes: add undef/nonnull warnings to EXTRA_WARNINGS
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -332,6 +332,7 @@ XWARNINGS=$(subst ",, $(strip $(WARNINGS))) -Wstrict-prototypes -fno-strict-alia ifeq ($(EXTRA_WARNINGS),y) XWARNINGS+=-Wnested-externs -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wformat=2 XWARNINGS+=-Wmissing-prototypes -Wmissing-declarations +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 endif |