enale Wextra

clean up some warning
This commit is contained in:
hathach
2020-03-25 14:09:07 +07:00
parent 01ac2b3d46
commit b2d4b016a9
3 changed files with 16 additions and 11 deletions

View File

@ -230,8 +230,13 @@ CFLAGS += \
-Wall \
-Werror \
-Wfatal-errors \
-Wextra
CFLAGS += -Wno-error=unused-parameter
# Suppress warning caused by SDK
CFLAGS += -Wno-error=unused-parameter -Wno-error=expansion-to-defined
# TinyUSB tusb_hal_nrf_power_event
CFLAGS += -Wno-error=cast-function-type
# Defined Symbol (MACROS)
CFLAGS += -D__HEAP_SIZE=0