aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-10 15:40:53 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-10 15:45:36 -0700
commitffed7d7b1eb6b771658f452d218bc6fd9d74d63b (patch)
tree7fc4218ddd32326f8fe8eee6ff221d1bec5ea2b1
parent1e68f5d827a859ba3b7ab6a70a60247e0b96afa5 (diff)
downloadlibmicrohttpd-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.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 10e7f6f4..84ebd2db 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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 := \