mirror of
https://github.com/vim/vim.git
synced 2025-11-13 22:54:27 -05:00
patch 8.2.2437: deprecation warnings with default configuration
Problem: Deprecation warnings with default configuration. Solution: Add -Wno-deprecated-declarations.
This commit is contained in:
2
src/auto/configure
vendored
2
src/auto/configure
vendored
@@ -4482,7 +4482,7 @@ with_x_arg="$with_x"
|
||||
|
||||
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`
|
||||
|
||||
Reference in New Issue
Block a user