From 3345192bb8ad7b64f038df66f62307822a0865c6 Mon Sep 17 00:00:00 2001 From: morrownr Date: Thu, 23 Nov 2023 09:42:00 -0600 Subject: [PATCH] flags for gcc-13 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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