Michael Bestas | 3a0209e | 2023-05-04 01:15:47 +0300 | [diff] [blame] | 1 | GNSS_CFLAGS = [ |
| 2 | "-Werror", |
| 3 | "-Wno-error=unused-parameter", |
| 4 | "-Wno-error=macro-redefined", |
| 5 | "-Wno-error=reorder", |
| 6 | "-Wno-error=missing-braces", |
| 7 | "-Wno-error=self-assign", |
| 8 | "-Wno-error=enum-conversion", |
| 9 | "-Wno-error=logical-op-parentheses", |
| 10 | "-Wno-error=null-arithmetic", |
| 11 | "-Wno-error=null-conversion", |
| 12 | "-Wno-error=parentheses-equality", |
| 13 | "-Wno-error=undefined-bool-conversion", |
| 14 | "-Wno-error=tautological-compare", |
| 15 | "-Wno-error=switch", |
| 16 | "-Wno-error=date-time", |
| 17 | ] |
| 18 | |
| 19 | /* Activate the following for debug purposes only, |
| 20 | comment out for production */ |
| 21 | GNSS_SANITIZE_DIAG = { |
| 22 | /* |
| 23 | diag: { |
| 24 | cfi: true, |
| 25 | misc_undefined: [ |
| 26 | "bounds", |
| 27 | "null", |
| 28 | "unreachable", |
| 29 | "integer", |
| 30 | ], |
| 31 | }, |
| 32 | */ |
| 33 | } |