From 560f769c03bdd32f9a2a10a2f2fee5e68709b5da Mon Sep 17 00:00:00 2001 From: "cla.grisenti" <91843204+clagrisenti@users.noreply.github.com> Date: Sun, 29 Jun 2025 22:39:05 +0200 Subject: [PATCH] Assert - added missing macros (#3968) Compilation with the NO_ASSERT flag set results in errors. This happens because some the macros are not defined in the else branch of #ifndef NO_ASSERT. --- common/util/Assert.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/util/Assert.h b/common/util/Assert.h index 1ed1866ef3..7369a8f30d 100644 --- a/common/util/Assert.h +++ b/common/util/Assert.h @@ -43,5 +43,8 @@ #define ASSERT(EX) ((void)0) #define ASSERT_MSG(EXPR, STR) ((void)0) +#define ASSERT_NOT_REACHED() ((void)0) +#define ASSERT_NOT_REACHED_MSG(STR) ((void)0) +#define ASSERT_EQ_IMM(EXPR, EXPECTED) ((void)0) #endif