Remove `-Wdeclaration-after-statement` flag (we use C99)
This commit is contained in:
parent
363069ff97
commit
1bcebc2da9
|
@ -95,7 +95,7 @@ if test "x$GCC" = "xyes" ; then
|
||||||
AC_MSG_RESULT($GCC_VERSION)
|
AC_MSG_RESULT($GCC_VERSION)
|
||||||
if test $GCC_VERSION_NUM -ge 304; then
|
if test $GCC_VERSION_NUM -ge 304; then
|
||||||
dnl these were added in 3.4
|
dnl these were added in 3.4
|
||||||
CFLAGS="$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self"
|
CFLAGS="$CFLAGS -Wextra -Winit-self"
|
||||||
fi
|
fi
|
||||||
if test $GCC_VERSION_NUM -ge 403; then
|
if test $GCC_VERSION_NUM -ge 403; then
|
||||||
dnl these were added in 4.3
|
dnl these were added in 4.3
|
||||||
|
|
Loading…
Reference in New Issue