From: Paul Brossier Date: Sat, 3 Jun 2006 15:51:32 +0000 (+0000) Subject: use -Wextra but unused parameters, fix macos CFLAGS X-Git-Tag: bzr2git~657 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=73883afc4fc5bf89d07a0305c76fb97a0caa066a;p=aubio.git use -Wextra but unused parameters, fix macos CFLAGS use -Wextra but unused parameters, fix macos CFLAGS --- 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 ;; *)