From: Jamie Madill Date: Thu, 24 Jan 2019 15:55:41 +0000 (-0500) Subject: Suppress a MSVC cast warning in GN. X-Git-Tag: upstream/11.4.0~555^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08fe88a94c66b1f05b3308c890d79f8b2d7053ab;p=platform%2Fupstream%2Fglslang.git 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 @@ source_set("glslang_sources") { "-Wno-unused-variable", ] } + if (is_win && !is_clang) { + cflags = [ + "/wd4018", # signed/unsigned mismatch + ] + } deps = [ "${spirv_tools_dir}:spvtools_opt",