diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-10-10 15:40:53 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-10-10 15:45:36 -0700 |
commit | ffed7d7b1eb6b771658f452d218bc6fd9d74d63b (patch) | |
tree | 7fc4218ddd32326f8fe8eee6ff221d1bec5ea2b1 | |
parent | 1e68f5d827a859ba3b7ab6a70a60247e0b96afa5 (diff) | |
download | libmicrohttpd-ffed7d7b1eb6b771658f452d218bc6fd9d74d63b.tar.gz |
Use -Werror in external/libmicrohttpd
* Suppressed warnings: sign-compare, tautological-constant-out-of-range-compare,
unused-parameter, unused-variable.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I59aec03654591e2fa6fd9eaed4fd855e440e23b2
-rw-r--r-- | Android.mk | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -18,7 +18,13 @@ LOCAL_PATH := $(my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libmicrohttpd -LOCAL_CFLAGS := -Wno-sign-compare -Wno-unused-parameter +LOCAL_CFLAGS := \ + -Wall -Werror \ + -Wno-sign-compare \ + -Wno-tautological-constant-out-of-range-compare \ + -Wno-unused-parameter \ + -Wno-unused-variable \ + LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/src/include LOCAL_C_INCLUDES := \ |