diff options
author | Robert Moore <Robert.Moore@intel.com> | 2009-12-18 12:33:38 -0800 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2009-12-18 12:33:38 -0800 |
commit | 24a732b0d5a89db446850573c510266aa067f8d2 (patch) | |
tree | 98dfb19bf249cd2333540b918debef512d8a3fe7 | |
parent | b5e61bc8ab54bdd7e06e2583ecbfde381362f03f (diff) | |
download | acpica-24a732b0d5a89db446850573c510266aa067f8d2.tar.gz |
Generic unix makefiles: Add additional warning options.
Mostly for gcc 4.
-rw-r--r-- | generate/unix/Makefile.config | 9 |
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 |