Merge pull request #1674 from null77/fix-msvc-sign-warning

Suppress a MSVC cast warning in GN.
This commit is contained in:
John Kessenich 2019-01-24 09:48:54 -08:00 committed by GitHub
commit 2cf6613a0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",