Commit cec599f5 by Alexis Hetu Committed by Alexis Hétu

Extra warnings suppression for Chromium

A few more warnings suppression were missing after the last build file change. Added them here to hopefully fix build issues. Change-Id: I80371a3ae59920dccf9c64a36c96d0341e7e39f5 Reviewed-on: https://swiftshader-review.googlesource.com/11210Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent d0b7069f
...@@ -75,6 +75,7 @@ config("swiftshader_subzero_private_config") { ...@@ -75,6 +75,7 @@ config("swiftshader_subzero_private_config") {
"/wd4146", "/wd4146",
"/wd4245", # conversion from int to unsigned int (llvm) "/wd4245", # conversion from int to unsigned int (llvm)
"/wd4267", "/wd4267",
"/wd4291",
"/wd4310", "/wd4310",
"/wd4334", "/wd4334",
"/wd4389", "/wd4389",
...@@ -112,6 +113,8 @@ config("swiftshader_reactor_with_subzero_private_config") { ...@@ -112,6 +113,8 @@ config("swiftshader_reactor_with_subzero_private_config") {
"/wd4146", "/wd4146",
"/wd4245", # conversion from int to unsigned int (llvm) "/wd4245", # conversion from int to unsigned int (llvm)
"/wd4267", "/wd4267",
"/wd4291",
"/wd4309",
"/wd4702", "/wd4702",
"/wd4800", "/wd4800",
] ]
......
...@@ -55,8 +55,6 @@ config("swiftshader_llvm_private_config") { ...@@ -55,8 +55,6 @@ config("swiftshader_llvm_private_config") {
"-msse2", "-msse2",
"-Wno-header-hygiene", "-Wno-header-hygiene",
"-Wno-null-dereference", "-Wno-null-dereference",
"-Wno-unused-private-field",
"-Wno-unused-local-typedef",
] ]
} else { } else {
cflags += [ "-Wno-unused-but-set-variable" ] cflags += [ "-Wno-unused-but-set-variable" ]
...@@ -66,6 +64,8 @@ config("swiftshader_llvm_private_config") { ...@@ -66,6 +64,8 @@ config("swiftshader_llvm_private_config") {
"-Wno-deprecated-declarations", "-Wno-deprecated-declarations",
"-Wno-enum-compare", "-Wno-enum-compare",
"-Wno-unused-function", "-Wno-unused-function",
"-Wno-unused-local-typedef",
"-Wno-unused-private-field",
"-Wno-unused-result", "-Wno-unused-result",
"-Wno-unused-variable", "-Wno-unused-variable",
] ]
......
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