aboutsummaryrefslogtreecommitdiff
path: root/gps
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@gmail.com>2023-06-07 23:28:37 +0300
committerNanhumly <admin@warbler.cc>2023-08-19 12:36:29 +0000
commitf527b3d784224bfeee81340750667446ba1a9663 (patch)
tree0e05ebc4c6839688e355474b68f056d40f3c31da /gps
parentec5c7b4c4eabb1d4e0f6e80e22bae93d4a28b941 (diff)
msm8996-common: gps: Remove all Wno-error flags
Almost all warnings/errors have been fixed. Ignore undefined bool conversion error on purpose. Change-Id: I00cb5f38711fa9f873da030fc6a0ebc6cde3ceeb
Diffstat (limited to 'gps')
-rw-r--r--gps/build/target_specific_features.mk16
-rw-r--r--gps/pla/Android.mk16
2 files changed, 2 insertions, 30 deletions
diff --git a/gps/build/target_specific_features.mk b/gps/build/target_specific_features.mk
index 943e231..1a00ef1 100644
--- a/gps/build/target_specific_features.mk
+++ b/gps/build/target_specific_features.mk
@@ -1,17 +1,3 @@
GNSS_CFLAGS := \
-Werror \
- -Wno-error=unused-parameter \
- -Wno-error=format \
- -Wno-error=macro-redefined \
- -Wno-error=reorder \
- -Wno-error=missing-braces \
- -Wno-error=self-assign \
- -Wno-error=enum-conversion \
- -Wno-error=logical-op-parentheses \
- -Wno-error=null-arithmetic \
- -Wno-error=null-conversion \
- -Wno-error=parentheses-equality \
- -Wno-error=undefined-bool-conversion \
- -Wno-error=tautological-compare \
- -Wno-error=switch \
- -Wno-error=date-time
+ -Wno-undefined-bool-conversion
diff --git a/gps/pla/Android.mk b/gps/pla/Android.mk
index ce062bb..5d6bb97 100644
--- a/gps/pla/Android.mk
+++ b/gps/pla/Android.mk
@@ -1,20 +1,6 @@
GNSS_CFLAGS := \
-Werror \
- -Wno-error=unused-parameter \
- -Wno-error=format \
- -Wno-error=macro-redefined \
- -Wno-error=reorder \
- -Wno-error=missing-braces \
- -Wno-error=self-assign \
- -Wno-error=enum-conversion \
- -Wno-error=logical-op-parentheses \
- -Wno-error=null-arithmetic \
- -Wno-error=null-conversion \
- -Wno-error=parentheses-equality \
- -Wno-error=undefined-bool-conversion \
- -Wno-error=tautological-compare \
- -Wno-error=switch \
- -Wno-error=date-time
+ -Wno-undefined-bool-conversion
ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
ifneq ($(BUILD_TINY_ANDROID),true)