Commit 50e28317 authored by Sam Hocevar's avatar Sam Hocevar

* configure.ac: add many additional warning flags.

parent 19852e42
......@@ -34,7 +34,7 @@ elif test x"$GCC" = x"yes"; then
dnl -Wall
dnl -Werror moved to the end to not disturb the configure script
TRY_CFLAGS="$OPT_CFLAGS -Wall"
TRY_CFLAGS="$OPT_CFLAGS -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
AC_TRY_CFLAGS([$TRY_CFLAGS $CFLAGS],[OPT_CFLAGS="$TRY_CFLAGS"])
dnl -O3
......@@ -126,7 +126,6 @@ fi
AM_CONDITIONAL(ARCH_ARM, ${arm_conditional})
dnl Checks for libtool - this must be done after we set cflags
AC_DISABLE_SHARED
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment