Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/leveldatabase/BUILD.gn

Issue 1488933002: Misc fixes for gn builds with VS 2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable warning 4267 which is the VC++ 2015 4244 Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/leveldatabase/BUILD.gn
diff --git a/third_party/leveldatabase/BUILD.gn b/third_party/leveldatabase/BUILD.gn
index b3080d8a2fdb491dc4eaff9264f66ac2465cc1a3..0057c0eed73bb6fd78752fa00e598e4883d3298f 100644
--- a/third_party/leveldatabase/BUILD.gn
+++ b/third_party/leveldatabase/BUILD.gn
@@ -282,6 +282,13 @@ if (!is_android) {
deps = [
":leveldb_testutil",
]
+
+ if (is_win) {
+ # db\log_test.cc(486) triggers two warnings:
+ # util\testharness.h(91): warning C4018: '<=': signed/unsigned mismatch
+ # util\testharness.h(89): warning C4018: '>=': signed/unsigned mismatch
+ cflags = [ "/wd4018" ] # Signed/unsigned mismatch in comparison.
+ }
}
test("leveldb_skiplist_test") {

Powered by Google App Engine
This is Rietveld 408576698