diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/net_lwip_webserver/Makefile | 3 | ||||
| -rw-r--r-- | examples/make.mk | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/examples/device/net_lwip_webserver/Makefile b/examples/device/net_lwip_webserver/Makefile index fa93cf87f..5279c49e2 100644 --- a/examples/device/net_lwip_webserver/Makefile +++ b/examples/device/net_lwip_webserver/Makefile @@ -6,6 +6,9 @@ CFLAGS += \ -DTCP_WND=2*TCP_MSS \ -DHTTPD_USE_CUSTOM_FSDATA=0 +# TODO rndis_reports.c and net_device cause cast algin warnings +CFLAGS += -Wno-error=cast-align + INC += \ src \ $(TOP)/hw \ diff --git a/examples/make.mk b/examples/make.mk index 449dc899d..2ea50753b 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -63,11 +63,9 @@ CFLAGS += \ -Wwrite-strings \ -Wsign-compare \ -Wmissing-format-attribute \ - -Wunreachable-code - -# This causes lots of warning with nrf5x build due to nrfx code -# CFLAGS += -Wcast-align - + -Wunreachable-code \ + -Wcast-align + # Debugging/Optimization ifeq ($(DEBUG), 1) CFLAGS += -Og -ggdb |
