From dd30a51d2bd33ffa425390179d5bb1a166ee8713 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Tue, 4 Sep 2018 14:37:23 +0200 Subject: [PATCH] lwip: ignore address warnings lwIP uses a lot of macro "magic" (including dereferencing then pointerizing pointers again) that confuses the static code checker of most compilers. --- pkg/lwip/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/lwip/Makefile b/pkg/lwip/Makefile index 448027a187..ce99e5fdca 100644 --- a/pkg/lwip/Makefile +++ b/pkg/lwip/Makefile @@ -10,6 +10,8 @@ LWIP_MODULE_MAKEFILE = $(RIOTBASE)/Makefile.base .PHONY: all $(LWIP_MODULES) +CFLAGS += -Wno-address + make_module = "$(MAKE)" -f $(LWIP_MODULE_MAKEFILE) MODULE=$(1) -C $(2) all: git-download lwip