commit | 6788a4139092f179005f7cdbf181ba24b60b6113 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Oct 30 10:15:43 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Oct 30 10:23:29 2017 -0700 |
tree | 09a1db870f8dfc836684315872c58f391b0c5cea | |
parent | fef4cbf28d0ec73fd5e2724c0bae0b4bc730592c [diff] |
Use -Werror in external/capstone * Allow existing warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Idceea5c372f89707bb094cf73b4fb96671c903a0
diff --git a/Android.bp b/Android.bp index 864a0ec..f580d14 100644 --- a/Android.bp +++ b/Android.bp
@@ -38,7 +38,8 @@ ], cflags: [ "-Wall", - "-Wunused-parameter", + "-Werror", + "-Wno-error=unused-parameter", "-DCAPSTONE_USE_SYS_DYN_MEM", ], export_include_dirs: [".", "include"],