projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4930964
)
Suppress a MSVC cast warning in GN.
author
Jamie Madill
<jmadill@chromium.org>
Thu, 24 Jan 2019 15:55:41 +0000
(10:55 -0500)
committer
Jamie Madill
<jmadill@chromium.org>
Thu, 24 Jan 2019 15:56:20 +0000
(10:56 -0500)
Also came up when using the BUILD.gn file with ANGLE.
ANGLE bug: 3088
BUILD.gn
patch
|
blob
|
history
diff --git
a/BUILD.gn
b/BUILD.gn
index
a657fa2
..
311e3fb
100644
(file)
--- 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",