0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 9.0.0832: deprecation warning causes build failure

Problem:    Deprecation warning causes build failure.
Solution:   Suppress deprecation warning. (closes #11503)
This commit is contained in:
Philip H
2022-11-05 14:05:31 +00:00
committed by Bram Moolenaar
parent 6c3d3e6904
commit 5a5f17f9b3
2 changed files with 7 additions and 0 deletions

View File

@@ -81,6 +81,11 @@
# 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

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
832,
/**/
831,
/**/