mirror of
https://github.com/transmission/transmission
synced 2025-02-12 09:25:03 +00:00
Remove -Wdeclaration-after-statement
flag (we use C99)
This commit is contained in:
parent
363069ff97
commit
1bcebc2da9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue