From 73883afc4fc5bf89d07a0305c76fb97a0caa066a Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 3 Jun 2006 15:51:32 +0000 Subject: [PATCH] use -Wextra but unused parameters, fix macos CFLAGS use -Wextra but unused parameters, fix macos CFLAGS --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 4f1b95c3..3d99dd6f 100644 --- a/configure.ac +++ b/configure.ac @@ -41,8 +41,7 @@ AC_ARG_ENABLE(warnme, with_warnme="yes") if test "$with_warnme" = "yes" then - ALL_CWARNINGS="-Wall -Werror -Wmissing-prototypes -Wmissing-declarations -Wno-char-subscripts -Wno-unknown-pragmas" - CFLAGS="$CFLAGS $ALL_CWARNINGS" + CFLAGS="$CFLAGS -Wall -Wextra -Werror -Wmissing-prototypes -Wmissing-declarations -Wno-unused-parameter" fi @@ -73,7 +72,7 @@ case "${host_os}" in dnl on macosx, cosf went to -lmx LDFLAGS="$LDFLAGS -lmx" dnl as long double doesn't sit well with -Wall -Werror - CFLAGS="$CLFAGS -Wno-long-double" + CFLAGS="$CFLAGS -Wno-long-double" AC_ISC_POSIX ;; *) -- 2.26.2