]> granicus.if.org Git - esp-idf/commitdiff
lwip: silence uninitialized and fallthrough warnings
authorAnton Maklakov <anton@espressif.com>
Fri, 7 Sep 2018 13:37:27 +0000 (21:37 +0800)
committerAnton Maklakov <anton@espressif.com>
Thu, 20 Sep 2018 10:53:15 +0000 (18:53 +0800)
components/lwip/component.mk

index 037b09f2a035a52c19f161b35f75080a3d29173d..e33ea7f368f31cf29f2d0dc721ed67ebed265f83 100644 (file)
@@ -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