Patch 9.0.0832

7 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 5, 2022, 10:06:55 AM11/5/22
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages