2018-10-24 18:24:11 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Nitish Sakhawalkar <nitsakh@icloud.com>
|
|
|
|
Date: Mon, 22 Oct 2018 10:47:12 -0700
|
|
|
|
Subject: disable-warning-win.patch
|
|
|
|
|
|
|
|
Disable unit test windows build warning
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/test/unittests/base/bits-unittest.cc b/test/unittests/base/bits-unittest.cc
|
2018-10-24 18:24:11 +00:00
|
|
|
index 6f787eb72783570812f7cbda57b836df56b5f2cb..c36dfcc836d6351d11d2178a8e6c3556b3ff3422 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/test/unittests/base/bits-unittest.cc
|
|
|
|
+++ b/test/unittests/base/bits-unittest.cc
|
|
|
|
@@ -13,7 +13,9 @@
|
|
|
|
#else
|
|
|
|
#define DISABLE_IN_RELEASE(Name) DISABLED_##Name
|
|
|
|
#endif
|
|
|
|
-
|
|
|
|
+#ifdef _WIN32
|
|
|
|
+#pragma warning(disable:4724 4723) // Disable potential divide by 0 warnings
|
|
|
|
+#endif
|
|
|
|
namespace v8 {
|
|
|
|
namespace base {
|
|
|
|
namespace bits {
|