Commit aeb13f6c authored by William Jon McCann's avatar William Jon McCann

Enable more warnings for git builds

And turn off Werror
parent 1366373c
......@@ -191,7 +191,7 @@ WARNING_CFLAGS=""
AC_ARG_ENABLE(more-warnings,
AC_HELP_STRING([--enable-more-warnings], [Maximum compiler warnings]),
set_more_warnings="$enableval",[
if test -f $srcdir/CVSVERSION; then
if test -d $srcdir/.git; then
is_cvs_version=true
set_more_warnings=yes
else
......@@ -205,8 +205,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
-Wall \
-Wmissing-declarations -Wmissing-prototypes \
-Wnested-externs -Wpointer-arith \
-Wcast-align \
-Werror"
-Wcast-align "
for option in -Wstrict-aliasing=0 -Wno-pointer-sign; do
SAVE_CFLAGS="$CFLAGS"
......
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