diff options
| author | hathach <[email protected]> | 2021-05-25 21:02:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-05-25 21:02:40 +0700 |
| commit | 954056da0ca4633d27f022858600164721963104 (patch) | |
| tree | 4a88c75f028d5619a0b2695a6588b5444c700bf1 /examples/make.mk | |
| parent | ca8724ee08375e85c3a8fd15b5088d38c20c1ae8 (diff) | |
fix warnings cast function type for nrf, fix pico osal warning
add TODO for overflow in tusb_fifo.c
Diffstat (limited to 'examples/make.mk')
| -rw-r--r-- | examples/make.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/make.mk b/examples/make.mk index 6366d6cef..df8bfd617 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -88,6 +88,7 @@ CFLAGS += \ -fno-strict-aliasing \ -Wdouble-promotion \ -Wstrict-prototypes \ + -Wstrict-overflow \ -Wall \ -Wextra \ -Werror \ @@ -100,7 +101,8 @@ CFLAGS += \ -Wsign-compare \ -Wmissing-format-attribute \ -Wunreachable-code \ - -Wcast-align + -Wcast-align \ + -Wcast-function-type # Debugging/Optimization ifeq ($(DEBUG), 1) |
