To: vim_dev@googlegroups.com Subject: Patch 9.0.0832 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///