diff --git a/Makefile b/Makefile index 14a9e8e..0e96c62 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,11 @@ EXTRA_CFLAGS += -DCONFIG_LED_ENABLE EXTRA_CFLAGS += -Wno-address EXTRA_CFLAGS += -Wframe-larger-than=1648 +# gcc-13 +EXTRA_CFLAGS += -Wno-stringop-overread +EXTRA_CFLAGS += -Wno-enum-conversion +EXTRA_CFLAGS += -Wno-int-in-bool-context + GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc ) ifeq ($(GCC_VER_49),1) EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later