From 3471d369f9d76348ffd45334ef8eff600c0dc989 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Fri, 7 Sep 2018 21:37:27 +0800 Subject: [PATCH] lwip: silence uninitialized and fallthrough warnings --- components/lwip/component.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/lwip/component.mk b/components/lwip/component.mk index 037b09f2a..e33ea7f36 100644 --- a/components/lwip/component.mk +++ b/components/lwip/component.mk @@ -30,6 +30,6 @@ endif CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check address of stack variables ifeq ($(GCC_NOT_5_2_0), 1) -else -netif/ppp/pppos.o: CFLAGS += -Wno-type-limits -endif \ No newline at end of file +lwip/src/netif/ppp/ppp.o: CFLAGS += -Wno-uninitialized +lwip/src/netif/ppp/pppos.o: CFLAGS += -Wno-implicit-fallthrough +endif