Suppress a MSVC cast warning in GN.
Also came up when using the BUILD.gn file with ANGLE. ANGLE bug: 3088
This commit is contained in:
parent
4930964683
commit
08fe88a94c
1 changed files with 5 additions and 0 deletions
5
BUILD.gn
5
BUILD.gn
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue