OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
127716a
)
Bernhard Fischer writes: add undef/nonnull warnings to EXTRA_WARNINGS
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 28 Jan 2007 23:05:17 +0000
(23:05 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 28 Jan 2007 23:05:17 +0000
(23:05 -0000)
Rules.mak
patch
|
blob
|
history
diff --git
a/Rules.mak
b/Rules.mak
index
658850e
..
2946908
100644
(file)
--- a/
Rules.mak
+++ b/
Rules.mak
@@
-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