summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2009-12-18 12:33:38 -0800
committerRobert Moore <Robert.Moore@intel.com>2009-12-18 12:33:38 -0800
commit24a732b0d5a89db446850573c510266aa067f8d2 (patch)
tree98dfb19bf249cd2333540b918debef512d8a3fe7
parentb5e61bc8ab54bdd7e06e2583ecbfde381362f03f (diff)
downloadacpica-24a732b0d5a89db446850573c510266aa067f8d2.tar.gz
Generic unix makefiles: Add additional warning options.
Mostly for gcc 4.
-rw-r--r--generate/unix/Makefile.config9
1 files changed, 9 insertions, 0 deletions
diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config
index c93cbe961..119fd2dc8 100644
--- a/generate/unix/Makefile.config
+++ b/generate/unix/Makefile.config
@@ -50,10 +50,18 @@ CWARNINGFLAGS = \
# gcc 4+ flags
#
CWARNINGFLAGS+= \
+ -Waggregate-return \
+ -Wchar-subscripts \
-Waddress \
-Wempty-body \
-Wlogical-op \
+ -Wmissing-declarations \
-Wmissing-field-initializers \
+ -Wmissing-parameter-type \
+ -Wnested-externs \
+ -Wold-style-declaration \
+ -Wold-style-definition \
+ -Wredundant-decls \
-Wtype-limits
#
@@ -64,6 +72,7 @@ CWARNINGFLAGS+= \
# -Wunreachable-code \
# -Wcast-qual \
# -Wconversion
+# -Wshadow \
#
# Bison/Flex configuration