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:
parent
3d19c81a11
commit
5375205761
@ -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;
|
||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
830,
|
||||
/**/
|
||||
829,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user