aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-30 10:15:43 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-30 10:23:29 -0700
commit6788a4139092f179005f7cdbf181ba24b60b6113 (patch)
tree09a1db870f8dfc836684315872c58f391b0c5cea
parentfef4cbf28d0ec73fd5e2724c0bae0b4bc730592c (diff)
downloadcapstone-pie-qpr2-release.tar.gz
* Allow existing warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Idceea5c372f89707bb094cf73b4fb96671c903a0
-rw-r--r--Android.bp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 864a0ec1..f580d147 100644
--- a/Android.bp
+++ b/Android.bp
@@ -38,7 +38,8 @@ cc_defaults {
],
cflags: [
"-Wall",
- "-Wunused-parameter",
+ "-Werror",
+ "-Wno-error=unused-parameter",
"-DCAPSTONE_USE_SYS_DYN_MEM",
],
export_include_dirs: [".", "include"],