Browse Source

Fixed warnings

Christophe Riccio 8 years ago
parent
commit
f654900a01
1 changed files with 5 additions and 0 deletions
  1. 5 0
      test/core/core_func_common.cpp

+ 5 - 0
test/core/core_func_common.cpp

@@ -9,6 +9,11 @@
 #include <cmath>
 #include <ctime>
 
+// This file has divisions by zero to test isnan
+#if GLM_COMPILER & GLM_COMPILER_VC
+#	pragma warning(disable : 4723)
+#endif
+
 namespace floor_
 {
 	static int test()