sm6225-common: gps: Remove all Wno-error flags
Almost all warnings/errors have been fixed. Ignore undefined bool conversion error on purpose. Change-Id: I00cb5f38711fa9f873da030fc6a0ebc6cde3ceeb
This commit is contained in:
parent
43f7193260
commit
0b7ef392e1
3 changed files with 3 additions and 42 deletions
|
@ -1,19 +1,6 @@
|
||||||
GNSS_CFLAGS = [
|
GNSS_CFLAGS = [
|
||||||
"-Werror",
|
"-Werror",
|
||||||
"-Wno-error=unused-parameter",
|
"-Wno-undefined-bool-conversion",
|
||||||
"-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",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
/* Activate the following for debug purposes only,
|
/* Activate the following for debug purposes only,
|
||||||
|
|
|
@ -3,20 +3,7 @@ ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
|
||||||
# Set required flags
|
# Set required flags
|
||||||
GNSS_CFLAGS := \
|
GNSS_CFLAGS := \
|
||||||
-Werror \
|
-Werror \
|
||||||
-Wno-error=unused-parameter \
|
-Wno-undefined-bool-conversion
|
||||||
-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
|
|
||||||
|
|
||||||
GNSS_HIDL_VERSION = 2.1
|
GNSS_HIDL_VERSION = 2.1
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,6 @@
|
||||||
GNSS_CFLAGS = [
|
GNSS_CFLAGS = [
|
||||||
"-Werror",
|
"-Werror",
|
||||||
"-Wno-error=unused-parameter",
|
"-Wno-undefined-bool-conversion",
|
||||||
"-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",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
/* Activate the following for debug purposes only,
|
/* Activate the following for debug purposes only,
|
||||||
|
|
Loading…
Reference in a new issue