Index: third_party/re2/BUILD.gn |
diff --git a/third_party/re2/BUILD.gn b/third_party/re2/BUILD.gn |
index 67b43784f9f96d4eb292bf8379d3d8c4e9e1fdc7..125904895b1638cbb617265e187508eca98b8987 100644 |
--- a/third_party/re2/BUILD.gn |
+++ b/third_party/re2/BUILD.gn |
@@ -71,7 +71,10 @@ static_library("re2") { |
if (is_win) { |
include_dirs = [ "mswin" ] |
- # TODO(brettw) 'msvs_disabled_warnings': [ 4018, 4722, 4267 ], |
+ cflags = [ |
+ "/wd4267", # Conversion from size_t. |
+ "/wd4722", # Destructor never terminates. |
+ ] |
} else { |
sources -= [ "mswin/stdint.h" ] |
} |