Skip to content

Commit

Permalink
patch 9.0.0830: compiling with Perl on Mac 12 fails
Browse files Browse the repository at this point in the history
Problem:    Compiling with Perl on Mac 12 fails.
Solution:   Suppress infinite warnings. (closes #11499)
  • Loading branch information
pheiduck authored and brammool committed Nov 4, 2022
1 parent 3d19c81 commit 5375205
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/if_perl.xs
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -695,6 +695,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
830,
/**/
829,
/**/
Expand Down

0 comments on commit 5375205

Please sign in to comment.