ref: 73883afc4fc5bf89d07a0305c76fb97a0caa066a
parent: 98893c5d94c507581a503638ca0e73ee6d573fde
author: Paul Brossier <[email protected]>
date: Sat Jun 3 11:51:32 EDT 2006
use -Wextra but unused parameters, fix macos CFLAGS use -Wextra but unused parameters, fix macos CFLAGS
--- a/configure.ac
+++ b/configure.ac
@@ -41,8 +41,7 @@
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 @@
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
;;
*)