From d63ffe6030ebaed512477a3dbbde176392e3e29d Mon Sep 17 00:00:00 2001 From: Max Roncace Date: Fri, 27 Mar 2026 23:50:31 -0400 Subject: [PATCH] Fix Clang compiler error due to CRASH macro --- include/global.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/global.h b/include/global.h index 3720586ae3..bb30611486 100644 --- a/include/global.h +++ b/include/global.h @@ -218,7 +218,6 @@ using std::isnan; #define IS_REF_NONNULL(r) (1) #endif -#define CRASH(msg) OSPanic(__FILE__, __LINE__, "%s", msg) -#define CRASHF(msg, ...) OSPanic(__FILE__, __LINE__, msg, __VA_ARGS__) +#define CRASH(msg, ...) OSPanic(__FILE__, __LINE__, "%s", msg, ##__VA_ARGS__) #endif