From 54bb1363a26b6a52cf1a8ecf1f16f76e9920956f Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 11 Jan 2023 23:26:04 +0000 Subject: get it to compile with clang --- unsorted/ParserHelpers-cc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'unsorted/ParserHelpers-cc.c') diff --git a/unsorted/ParserHelpers-cc.c b/unsorted/ParserHelpers-cc.c index fe081ad..07315b3 100644 --- a/unsorted/ParserHelpers-cc.c +++ b/unsorted/ParserHelpers-cc.c @@ -140,16 +140,14 @@ int SetupPragmas(const Pragma *pragmas) { else if (*((char *)pragmas->value) == PR_RESET) set = "reset"; else -#line 186 - OPTION_ASSERT(*((char *)pragmas->value) == PR_UNSET); + OS_ASSERT(186, *((char *)pragmas->value) == PR_UNSET); if (set) { snprintf(tmp, sizeof(tmp), "#pragma %s %s\n", pragmas->pragma, set); AddStringToHandle(&definesHandle, tmp); } } else { -#line 195 - OPTION_ASSERT(!"Can't handle pragma"); + OS_ASSERT(195, !"Can't handle pragma"); } pragmas++; } -- cgit v1.2.3