diff options
author | Michael Bestas <mkbestas@gmail.com> | 2023-06-07 23:28:37 +0300 |
---|---|---|
committer | Nanhumly <admin@warbler.cc> | 2023-08-19 12:36:29 +0000 |
commit | f527b3d784224bfeee81340750667446ba1a9663 (patch) | |
tree | 0e05ebc4c6839688e355474b68f056d40f3c31da | |
parent | ec5c7b4c4eabb1d4e0f6e80e22bae93d4a28b941 (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
-rw-r--r-- | gps/build/target_specific_features.mk | 16 | ||||
-rw-r--r-- | gps/pla/Android.mk | 16 |
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) |