Commit 91da6b00 by Alexis Hetu Committed by Alexis Hétu

Fix for Subzero compilation on x86

Silence a few warnings within the LLVM code used by Subzero which ended up being treated as errors when compiling Chromium for x86. Change-Id: If4d3c13ce0b01185d59a2cd064b2bad537639b94 Reviewed-on: https://swiftshader-review.googlesource.com/8813Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent 26b41169
......@@ -114,6 +114,13 @@ config("swiftshader_reactor_with_subzero_private_config") {
"/wd4800",
]
if (use_swiftshader_with_subzero) {
cflags += [
"/wd4018", # signed/unsigned mismatch (llvm)
"/wd4310", # cast truncates constant value (llvm)
]
}
if (is_clang) {
if (is_debug) {
cflags += [ "-Wno-sign-compare" ]
......
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