Skip to content

Commit 4d8479b

Browse files
committed
patch 8.2.2437: deprecation warnings with default configuration
Problem: Deprecation warnings with default configuration. Solution: Add -Wno-deprecated-declarations.
1 parent 206c2a6 commit 4d8479b

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/auto/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4482,7 +4482,7 @@ with_x_arg="$with_x"
44824482

44834483
if test -z "$CFLAGS"; then
44844484
CFLAGS="-O"
4485-
test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
4485+
test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall -Wno-deprecated-declarations"
44864486
fi
44874487
if test "$GCC" = yes; then
44884488
gccversion=`$CC -dumpversion`

src/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ with_x_arg="$with_x"
9090
dnl Set default value for CFLAGS if none is defined or it's empty
9191
if test -z "$CFLAGS"; then
9292
CFLAGS="-O"
93-
test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
93+
test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall -Wno-deprecated-declarations"
9494
fi
9595
if test "$GCC" = yes; then
9696
dnl method that should work for nearly all versions

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2437,
753755
/**/
754756
2436,
755757
/**/

0 commit comments

Comments
 (0)