summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2014-12-10 01:21:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-10 01:21:08 +0000
commit9164572ac412a36d61d05fe206a7c2811e7c8a65 (patch)
tree28a4f5f402bb3e4ca6e8976a8fe8a2cac7c3c03e
parent5457de7beec0dcfd8085f7252ac2efa03c2de8d0 (diff)
parent4a66931c3c9c4a6074a032fe4da5dfef9c1b6ec5 (diff)
downloadsrec-master.tar.gz
Merge "Suppress harmless clang warnings until upstream fix."HEADandroid-wear-5.0.0_r1master-soongmastermainlollipop-wear-release
-rw-r--r--srec/ca/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/srec/ca/Android.mk b/srec/ca/Android.mk
index 069ff3b..c5b978e 100644
--- a/srec/ca/Android.mk
+++ b/srec/ca/Android.mk
@@ -88,6 +88,8 @@ common_STATIC_LIBRARIES := \
common_TARGET:= libSR_Core
+# ca_cms.c:214:28: error: address of array 'hWave->data.channel->spchchan'
+# will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
# For the host
# =====================================================
@@ -105,6 +107,8 @@ LOCAL_MODULE := $(common_TARGET)
LOCAL_32_BIT_ONLY := true
+LOCAL_CLANG_CFLAGS += -Wno-pointer-bool-conversion
+
include $(BUILD_HOST_SHARED_LIBRARY)
@@ -119,4 +123,6 @@ LOCAL_CFLAGS += $(common_CFLAGS)
LOCAL_MODULE := $(common_TARGET)
+LOCAL_CLANG_CFLAGS += -Wno-pointer-bool-conversion
+
include $(BUILD_STATIC_LIBRARY)