Remove -Wno-error flags

The project has a strict warnings-as-errors policy. If any warnings aren't interesting, we should disable those warnings, not warnings-as-errors. Change-Id: Ib3f5d21e6f368339a6af51582facdfa7508f4239 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/55609Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarNico Weber <thakis@google.com> Tested-by: 's avatarNico Weber <thakis@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org>
parent b77a8af7
...@@ -148,10 +148,6 @@ if (supports_subzero) { ...@@ -148,10 +148,6 @@ if (supports_subzero) {
"-Wno-unused-function", "-Wno-unused-function",
] ]
} }
if (is_fuchsia) {
cflags += [ "-Wno-error" ]
}
} }
config("swiftshader_reactor_with_subzero_private_config") { config("swiftshader_reactor_with_subzero_private_config") {
...@@ -184,10 +180,6 @@ if (supports_subzero) { ...@@ -184,10 +180,6 @@ if (supports_subzero) {
if (is_clang) { if (is_clang) {
cflags += [ "-Wno-header-hygiene" ] cflags += [ "-Wno-header-hygiene" ]
} }
if (is_fuchsia) {
cflags += [ "-Wno-error" ]
}
} }
swiftshader_source_set("swiftshader_subzero") { swiftshader_source_set("swiftshader_subzero") {
......
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