Commit 6e27fea8 by Corentin Wallez

Fix MSVC compilation of the VertexRoutineFuzzer

We should really have these suppressions in a shared config over all swiftshader. BUG=swiftshader:86 Change-Id: I1b8fa6342090e78e2338a7d748bcb29911f9e393 Reviewed-on: https://swiftshader-review.googlesource.com/13328Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Tested-by: 's avatarCorentin Wallez <cwallez@google.com>
parent f521ac05
...@@ -101,6 +101,13 @@ source_set("vertex_routine_fuzzer") { ...@@ -101,6 +101,13 @@ source_set("vertex_routine_fuzzer") {
sources = [ sources = [
"tests/fuzzers/VertexRoutineFuzzer.cpp" "tests/fuzzers/VertexRoutineFuzzer.cpp"
] ]
if (is_win) {
cflags = [
"/wd4201", # nameless struct/union
"/wd4065", # switch statement contains 'default' but no 'case' labels
"/wd5030", # attribute is not recognized
]
}
include_dirs = [ include_dirs = [
"src/", "src/",
] ]
......
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