mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -145,6 +145,11 @@
|
|||||||
# define EXTERN_C
|
# define EXTERN_C
|
||||||
#endif
|
#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 */
|
/* Compatibility hacks over */
|
||||||
|
|
||||||
static PerlInterpreter *perl_interp = NULL;
|
static PerlInterpreter *perl_interp = NULL;
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
830,
|
||||||
/**/
|
/**/
|
||||||
829,
|
829,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user