Skip to content

Commit

Permalink
Removed fatal warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Feb 1, 2025
1 parent 5fb8c15 commit 8e9a998
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/genie.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ project "bx.test"
debugdir (path.join(BX_DIR, "tests"))

flags {
"FatalWarnings",
-- "FatalWarnings",
}

removeflags {
Expand Down
3 changes: 1 addition & 2 deletions tests/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <catch/catch_amalgamated.hpp>
BX_PRAGMA_DIAGNOSTIC_POP();

Expand Down

0 comments on commit 8e9a998

Please sign in to comment.