From f527b3d784224bfeee81340750667446ba1a9663 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 7 Jun 2023 23:28:37 +0300 Subject: 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 --- gps/build/target_specific_features.mk | 16 +--------------- 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) -- cgit v1.2.3