From 64119ce40d5fd18f550335d841c28adccc2fa81f Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 11 Mar 2009 13:59:34 -0700 Subject: [PATCH] Remove -Wno-parentheses this is handled by the gcc-no-parentheses branch. --- config/Rules.am | 2 +- config/kernel.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/Rules.am b/config/Rules.am index 7ed117657e..175e4b6087 100644 --- a/config/Rules.am +++ b/config/Rules.am @@ -5,7 +5,7 @@ DEFAULT_INCLUDES = -I${top_srcdir} # # FIXME: Add -Wshadow once everything is working # -AM_CFLAGS = -Wall -Wstrict-prototypes -Werror -Wno-parentheses +AM_CFLAGS = -Wall -Wstrict-prototypes -Werror AM_CFLAGS += -Wno-switch -Wno-unused -Wno-missing-braces AM_CFLAGS += -Wno-uninitialized -fno-strict-aliasing diff --git a/config/kernel.m4 b/config/kernel.m4 index 4a705b0e51..245bdc00de 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -10,7 +10,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ # FIXME: consider removing this as soon as we reasonably can KERNELCPPFLAGS="$KERNELCPPFLAGS -Wall -Wstrict-prototypes -Werror" KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-switch -Wno-unused" - KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-missing-braces -Wno-parentheses" + KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-missing-braces" KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-uninitialized -fno-strict-aliasing" KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL "