From fa020b0f7e093fccb9eb4dac7eda68c14f01829f Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 18 Dec 2008 13:57:27 -0800 Subject: [PATCH] Remove -Wshadow for now --- config/Rules.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/Rules.am b/config/Rules.am index 92815e9033..258c94a7f3 100644 --- a/config/Rules.am +++ b/config/Rules.am @@ -2,7 +2,10 @@ DEFAULT_INCLUDES = -I${top_srcdir} # FIXME: Quiet warnings not covered by the gcc-* patches. We should # FIXME: consider removing this as soon as we reasonably can. -AM_CFLAGS = -Wall -Wstrict-prototypes -Wshadow -Werror +# +# FIXME: Add -Wshadow once everything is working +# +AM_CFLAGS = -Wall -Wstrict-prototypes -Werror AM_CFLAGS += -Wno-switch -Wno-unused -Wno-missing-braces AM_CFLAGS += -Wno-unknown-pragmas -Wno-parentheses AM_CFLAGS += -Wno-uninitialized -fno-strict-aliasing