aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2019-02-25 19:24:35 +0200
committerMichael Bestas <mkbestas@lineageos.org>2019-02-25 22:32:37 +0200
commitb3b6f892bfdf09cac54848110b269b9ec5f941a4 (patch)
treeeb78cc20bd8cad1807a6977ae541f9a17653389e
parentb78b736968cebcd3237ebaa2b33e598e255c2141 (diff)
downloadandroid_external_p7zip-b3b6f892bfdf09cac54848110b269b9ec5f941a4.tar.gz
android_external_p7zip-b3b6f892bfdf09cac54848110b269b9ec5f941a4.tar.bz2
android_external_p7zip-b3b6f892bfdf09cac54848110b269b9ec5f941a4.zip
p7zip: Silence all warnings
* There are too many warnings to fix, so just silence them to avoid build spam and hope upstream will fix them sometime Change-Id: Ie2cf34e8c4e96fad09f8dd1110102206c50f4769
-rw-r--r--Android.mk21
1 files changed, 19 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index b147ebd..c05b093 100644
--- a/Android.mk
+++ b/Android.mk
@@ -16,8 +16,25 @@ common_cflags := \
common_cflags += \
-fexceptions \
-Wno-c++11-narrowing \
- -Wno-error \
- -Wno-non-virtual-dtor
+ -Wno-dangling-else \
+ -Wno-delete-non-virtual-dtor \
+ -Wno-deprecated-increment-bool \
+ -Wno-ignored-qualifiers \
+ -Wno-implicit-exception-spec-mismatch \
+ -Wno-logical-op-parentheses \
+ -Wno-missing-field-initializers \
+ -Wno-non-virtual-dtor \
+ -Wno-overloaded-virtual \
+ -Wno-reorder \
+ -Wno-self-assign \
+ -Wno-sign-compare \
+ -Wno-switch \
+ -Wno-unneeded-internal-declaration \
+ -Wno-unused-const-variable \
+ -Wno-unused-function \
+ -Wno-unused-parameter \
+ -Wno-unused-private-field \
+ -Wno-unused-variable
common_c_includes := \
$(LOCAL_PATH)/CPP \