commit | 08fe88a94c66b1f05b3308c890d79f8b2d7053ab | [log] [tgz] |
---|---|---|
author | Jamie Madill <jmadill@chromium.org> | Thu Jan 24 10:55:41 2019 -0500 |
committer | Jamie Madill <jmadill@chromium.org> | Thu Jan 24 10:56:20 2019 -0500 |
tree | d518889c5610e4d5c1bae59700734d51f4befa0a | |
parent | 4930964683168aaefa55562cf6cdbcc7af901970 [diff] [blame] |
Suppress a MSVC cast warning in GN. Also came up when using the BUILD.gn file with ANGLE. ANGLE bug: 3088
diff --git a/BUILD.gn b/BUILD.gn index a657fa2..311e3fb 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -148,6 +148,11 @@ "-Wno-unused-variable", ] } + if (is_win && !is_clang) { + cflags = [ + "/wd4018", # signed/unsigned mismatch + ] + } deps = [ "${spirv_tools_dir}:spvtools_opt",