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

patch 9.0.0830: compiling with Perl on Mac 12 fails

Problem:    Compiling with Perl on Mac 12 fails.
Solution:   Suppress infinite warnings. (closes #11499)
This commit is contained in:
Philip H 2022-11-04 22:32:21 +00:00 committed by Bram Moolenaar
parent 3d19c81a11
commit 5375205761
2 changed files with 7 additions and 0 deletions

View File

@ -145,6 +145,11 @@
# define EXTERN_C
#endif
// Suppress Infinite warnings when compiling XS modules under macOS 12 Monterey.
#if defined(__clang__) && defined(__clang_major__) && __clang_major__ > 11
#pragma clang diagnostic ignored "-Wcompound-token-split-by-macro"
#endif
/* Compatibility hacks over */
static PerlInterpreter *perl_interp = NULL;

View File

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