Suppress warnings in subzero
There are no plans to fix them, so let's suppress it.
Bug: b/118397735
Change-Id: Ie2b621e1cf315a8e24c9b29b6e2bf8a7762e7b6e
Reviewed-on: https://swiftshader-review.googlesource.com/c/21889
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Aurimas Liutikas <aurimas@google.com>
diff --git a/src/Reactor/Android.mk b/src/Reactor/Android.mk
index e42e58e..e21d196 100644
--- a/src/Reactor/Android.mk
+++ b/src/Reactor/Android.mk
@@ -112,8 +112,8 @@
-DLOG_TAG=\"libsubzero\" \
-Wall \
-Werror \
- -Wno-error=undefined-var-template \
- -Wno-error=unused-lambda-capture \
+ -Wno-undefined-var-template \
+ -Wno-unused-lambda-capture \
-Wno-unused-parameter \
-Wno-implicit-exception-spec-mismatch \
-Wno-overloaded-virtual \
diff --git a/third_party/subzero/Android.bp b/third_party/subzero/Android.bp
index cde1ac6..b0c0c5d 100644
--- a/third_party/subzero/Android.bp
+++ b/third_party/subzero/Android.bp
@@ -29,8 +29,8 @@
"-D__STDC_FORMAT_MACROS",
"-DLOG_TAG=\"libsubzero\"",
"-Wno-unused-parameter",
- "-Wno-error=undefined-var-template",
- "-Wno-error=unused-lambda-capture",
+ "-Wno-undefined-var-template",
+ "-Wno-unused-lambda-capture",
],
cppflags: [