From c35998e20d17213c2672f415e9c4e2c2a1c30fb0 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 28 Nov 2017 20:47:23 +0100 Subject: [PATCH] Makefile: Disable -Wundef and -Wsign-compare for now This silences tons of warnings which are making it hard to identify actual issues when looking at the compiler output. --- firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/Makefile b/firmware/Makefile index 50cc2dd7..1954501d 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -144,9 +144,9 @@ INCLUDES += -Iapps/$(APP) CFLAGS += -Wall -Wchar-subscripts -Wcomment -Wimplicit-int #-Wformat=2 CFLAGS += -Werror-implicit-function-declaration -Wmain -Wparentheses CFLAGS += -Wsequence-point -Wreturn-type -Wswitch -Wtrigraphs #-Wunused -CFLAGS += -Wuninitialized -Wunknown-pragmas -Wfloat-equal -Wundef +CFLAGS += -Wuninitialized -Wunknown-pragmas -Wfloat-equal #-Wundef CFLAGS += -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings -CFLAGS += -Wsign-compare -Waggregate-return +CFLAGS += -Waggregate-return #-Wsign-compare CFLAGS += -Wformat=0 CFLAGS += -Wmissing-format-attribute -Wno-deprecated-declarations CFLAGS += #-Wpacked