patch 8.2.2437: deprecation warnings with default configuration
Problem: Deprecation warnings with default configuration.
Solution: Add -Wno-deprecated-declarations.
diff --git a/src/auto/configure b/src/auto/configure
index 9d76f89..12d8f24 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -4482,7 +4482,7 @@
if test -z "$CFLAGS"; then
CFLAGS="-O"
- test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
+ test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall -Wno-deprecated-declarations"
fi
if test "$GCC" = yes; then
gccversion=`$CC -dumpversion`
diff --git a/src/configure.ac b/src/configure.ac
index e511b35..630433f 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -90,7 +90,7 @@
dnl Set default value for CFLAGS if none is defined or it's empty
if test -z "$CFLAGS"; then
CFLAGS="-O"
- test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
+ test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall -Wno-deprecated-declarations"
fi
if test "$GCC" = yes; then
dnl method that should work for nearly all versions
diff --git a/src/version.c b/src/version.c
index 768b3af..903f3fd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2437,
+/**/
2436,
/**/
2435,