To: vim_dev@googlegroups.com Subject: Patch 8.2.2437 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2437 Problem: Deprecation warnings with default configuration. Solution: Add -Wno-deprecated-declarations. Files: src/configure.ac, src/auto/configure *** ../vim-8.2.2436/src/configure.ac 2021-01-30 19:33:29.786351333 +0100 --- src/configure.ac 2021-01-30 22:35:36.391308506 +0100 *************** *** 90,96 **** 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" fi if test "$GCC" = yes; then dnl method that should work for nearly all versions --- 90,96 ---- 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 -Wno-deprecated-declarations" fi if test "$GCC" = yes; then dnl method that should work for nearly all versions *** ../vim-8.2.2436/src/auto/configure 2021-01-30 19:33:29.790351321 +0100 --- src/auto/configure 2021-01-31 14:26:46.153744539 +0100 *************** *** 4482,4488 **** if test -z "$CFLAGS"; then CFLAGS="-O" ! test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall" fi if test "$GCC" = yes; then gccversion=`$CC -dumpversion` --- 4482,4488 ---- if test -z "$CFLAGS"; then CFLAGS="-O" ! test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall -Wno-deprecated-declarations" fi if test "$GCC" = yes; then gccversion=`$CC -dumpversion` *** ../vim-8.2.2436/src/version.c 2021-01-31 14:04:04.082702516 +0100 --- src/version.c 2021-01-31 14:35:53.471918377 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2437, /**/ -- A cow comes flying over the battlements, lowing aggressively. The cow lands on GALAHAD'S PAGE, squashing him completely. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///