d5ecca2f41
Change-Id: Id9a462cf8bf1140854659dcff958f9979905e3dc
33 lines
792 B
Text
33 lines
792 B
Text
GNSS_CFLAGS = [
|
|
"-Werror",
|
|
"-Wno-error=unused-parameter",
|
|
"-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,
|
|
comment out for production */
|
|
GNSS_SANITIZE_DIAG = {
|
|
/*
|
|
diag: {
|
|
cfi: true,
|
|
misc_undefined: [
|
|
"bounds",
|
|
"null",
|
|
"unreachable",
|
|
"integer",
|
|
],
|
|
},
|
|
*/
|
|
}
|