diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -9,6 +9,8 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/cxcore/include LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) +LOCAL_CFLAGS += -Wno-unused-parameter + # cxmathfuncs.cpp has implicit cast of int struct fields. LOCAL_CLANG_CFLAGS += -Wno-c++11-narrowing @@ -59,6 +61,11 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/cv/include LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) +LOCAL_CFLAGS += -Wno-sizeof-pointer-memaccess \ + -Wno-deprecated-register \ + -Wno-sign-compare \ + -Wno-parentheses-equality + LOCAL_SRC_FILES := \ cv/src/cvaccum.cpp \ cv/src/cvadapthresh.cpp \ @@ -140,6 +147,13 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/cvaux/include LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) +LOCAL_CFLAGS += -Wno-unused-parameter \ + -Wno-logical-op-parentheses \ + -Wno-dangling-else \ + -Wno-missing-field-initializers \ + -Wno-self-assign \ + -Wno-sizeof-pointer-memaccess + LOCAL_SRC_FILES := \ cvaux/src/camshift.cpp \ cvaux/src/cvaux.cpp \ @@ -203,6 +217,9 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/ml/include LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) +LOCAL_CFLAGS += -Wno-logical-op-parentheses \ + -Wno-tautological-compare + LOCAL_SRC_FILES := \ ml/src/ml.cpp \ ml/src/mlann_mlp.cpp \ @@ -237,6 +254,8 @@ LOCAL_SHARED_LIBRARIES += libjpeg LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) -DHAVE_JPEG +LOCAL_CFLAGS += -Wno-unused-parameter -Wno-logical-op-parentheses + # grfmt_tiff.cpp has implicit cast of int struct fields. LOCAL_CLANG_CFLAGS += -Wno-c++11-narrowing |