From 3613812604bed325ba75c69ec619706135cc1e71 Mon Sep 17 00:00:00 2001 From: Karan Veer Date: Tue, 7 May 2024 21:12:15 -0400 Subject: [PATCH] clang: fix compilation by ignoring a warning Fixes: #4308 --- src/perl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/perl.c b/src/perl.c index 4c7c6912e8..2a862ca77e 100644 --- a/src/perl.c +++ b/src/perl.c @@ -41,6 +41,10 @@ #include +#if defined(__APPLE__) +#pragma clang diagnostic ignored "-Wcompound-token-split-by-macro" +#endif + /* Some versions of Perl define their own version of DEBUG... :-/ */ #ifdef DEBUG #undef DEBUG