From 8e9a9983574171b80ae96150f32a3eef2093bb39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Fri, 31 Jan 2025 16:18:33 -0800 Subject: [PATCH] Removed fatal warnings. --- scripts/genie.lua | 2 +- tests/test.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/genie.lua b/scripts/genie.lua index 1babf0ab7..c39f83def 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -46,7 +46,7 @@ project "bx.test" debugdir (path.join(BX_DIR, "tests")) flags { - "FatalWarnings", +-- "FatalWarnings", } removeflags { diff --git a/tests/test.h b/tests/test.h index acb7883ad..3d8085474 100644 --- a/tests/test.h +++ b/tests/test.h @@ -10,8 +10,7 @@ BX_PRAGMA_DIAGNOSTIC_PUSH(); BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4312); // warning C4312 : 'reinterpret_cast' : conversion from 'int' to 'const char *' of greater size -BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG("-Wno-unknown-warning-option"); -BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG("-Wno-nan-infinity-disabled"); +//BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG("-Wnan-infinity-disabled"); #include BX_PRAGMA_DIAGNOSTIC_POP();