Commit 5fc197dc by Jonah Ryan-Davis

Disable MSVC warning 4065

Warning for a switch statement with 'default' but no 'case labels. This warning is triggered in the ANGLE CQ and blocking a sws roll. Bug: angleproject:4299 Change-Id: Id8d98c124e19b6a6834beb9a643b182e2d5876e7 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/40248Tested-by: 's avatarJonah Ryan-Davis <jonahr@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 5349f3c9
...@@ -55,6 +55,7 @@ config("swiftshader_config") { ...@@ -55,6 +55,7 @@ config("swiftshader_config") {
# Diable some MSVC warnings. # Diable some MSVC warnings.
if (!is_clang) { if (!is_clang) {
cflags += [ cflags += [
"/wd4065", # switch statement contains 'default' but no 'case' labels
"/wd4309", # Truncation of constant value. See PixelRoutine.cpp casts of signed shorts. "/wd4309", # Truncation of constant value. See PixelRoutine.cpp casts of signed shorts.
] ]
} }
......
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