Patch 9.0.0832
Problem:    Deprecation warning causes build failure.
Solution:   Suppress deprecation warning. (closes #11503)
Files:      src/if_python3.c


*** ../vim-9.0.0831/src/if_python3.c    2022-11-04 22:38:05.763776018 +0000
--- src/if_python3.c    2022-11-05 14:04:28.097261832 +0000
***************
*** 81,86 ****
--- 81,91 ----
  # define CODEC_ERROR_HANDLER NULL
  #endif
  
+ // Suppress Python 3.11 depreciations to see useful warnings
+ #if defined(__clang__) && defined(__clang_major__) && __clang_major__ > 11
+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ #endif
+ 
  // Python 3 does not support CObjects, always use Capsules
  #define PY_USE_CAPSULE
  
*** ../vim-9.0.0831/src/version.c       2022-11-04 22:38:05.763776018 +0000
--- src/version.c       2022-11-05 14:04:38.221264228 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     832,
  /**/

-- 
Computers are useless. They can only give you answers.
                -- Pablo Picasso

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20221105140640.032C71C0739%40moolenaar.net.

Raspunde prin e-mail lui