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

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 C4267 for VC++ 2015 builds only 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
« no previous file with comments | « printing/printing_context_win_unittest.cc ('k') | third_party/libexif/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
« no previous file with comments | « printing/printing_context_win_unittest.cc ('k') | third_party/libexif/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698