From 8ea215bf2fff5b65d1abf8149f0b7b0255eabe69 Mon Sep 17 00:00:00 2001 From: Hanicef Date: Sun, 3 Mar 2024 11:36:29 +0100 Subject: [PATCH] Fix compiler error in clang --- src/doomdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doomdef.h b/src/doomdef.h index d1ad93fcc..1b0e76314 100644 --- a/src/doomdef.h +++ b/src/doomdef.h @@ -649,7 +649,7 @@ UINT32 quickncasehash (const char *p, size_t n) #else #define I_Assert(e) ((void)0) #endif -#define I_StaticAssert(e) static_assert(e) +#define I_StaticAssert(e) static_assert(e, "Static assertion failed: " #e) // The character that separates pathnames. Forward slash on // most systems, but reverse solidus (\) on Windows.