Browse Source

Removed fatal warnings.

Бранимир Караџић 10 months ago
parent
commit
8e9a998357
2 changed files with 2 additions and 3 deletions
  1. 1 1
      scripts/genie.lua
  2. 1 2
      tests/test.h

+ 1 - 1
scripts/genie.lua

@@ -46,7 +46,7 @@ project "bx.test"
 	debugdir (path.join(BX_DIR, "tests"))
 
 	flags {
-		"FatalWarnings",
+--		"FatalWarnings",
 	}
 
 	removeflags {

+ 1 - 2
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 <catch/catch_amalgamated.hpp>
 BX_PRAGMA_DIAGNOSTIC_POP();