Remove -Wdeclaration-after-statement.
authorRalph Giles <giles@thaumas.net>
Wed, 13 Mar 2013 05:57:00 +0000 (22:57 -0700)
committerRalph Giles <giles@thaumas.net>
Wed, 13 Mar 2013 05:57:00 +0000 (22:57 -0700)
This causes warnings with the ALLOC() macro.

configure.ac

index 55c6315..ce17fef 100644 (file)
@@ -224,7 +224,7 @@ AC_SUBST(SYMBOL_VISIBILITY)
 
 CFLAGS="$CFLAGS -W"
 
-warn_CFLAGS="-Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement"
+warn_CFLAGS="-Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes"
 saved_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS $warn_CFLAGS"
 AC_MSG_CHECKING([if ${CC} supports ${warn_CFLAGS}])