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

Unified Diff: third_party/re2/BUILD.gn

Issue 1259253006: Reland of Enable C4018 globally for the GN build, and disable per-target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months 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 | « third_party/qcms/BUILD.gn ('k') | third_party/snappy/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/re2/BUILD.gn
diff --git a/third_party/re2/BUILD.gn b/third_party/re2/BUILD.gn
index 2bc130adbd38fca629a961e3fcb4af62e1d7d77d..ca1f7a201c21bad24d0e081869cb3d01dd3619fb 100644
--- a/third_party/re2/BUILD.gn
+++ b/third_party/re2/BUILD.gn
@@ -67,7 +67,10 @@
if (is_win) {
include_dirs = [ "mswin" ]
- cflags = [ "/wd4722" ] # Destructor never terminates.
+ cflags = [
+ "/wd4018", # Signed/unsigned mismatch in comparison.
+ "/wd4722", # Destructor never terminates.
+ ]
} else {
sources -= [ "mswin/stdint.h" ]
}
« no previous file with comments | « third_party/qcms/BUILD.gn ('k') | third_party/snappy/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698