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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202101311336.10VDakCn951482%40masaka.moolenaar.net.

Raspunde prin e-mail lui