Unverified Commit 2cf6613a by John Kessenich Committed by GitHub

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

Suppress a MSVC cast warning in GN.
parents 49309646 08fe88a9
...@@ -148,6 +148,11 @@ source_set("glslang_sources") { ...@@ -148,6 +148,11 @@ source_set("glslang_sources") {
"-Wno-unused-variable", "-Wno-unused-variable",
] ]
} }
if (is_win && !is_clang) {
cflags = [
"/wd4018", # signed/unsigned mismatch
]
}
deps = [ deps = [
"${spirv_tools_dir}:spvtools_opt", "${spirv_tools_dir}:spvtools_opt",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment