From cffef594ce1656deb5c7d49992028f583f56f22e Mon Sep 17 00:00:00 2001 From: Torbjorn Tyridal Date: Tue, 20 Jun 2017 21:51:28 +0200 Subject: [PATCH] make: Enable more warnings --- Makefile.common | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 751e601..aa89f68 100644 --- a/Makefile.common +++ b/Makefile.common @@ -39,7 +39,9 @@ SIMAVR := ${shell for p in . .. ../.. ../../..;do test -d $$p/simavr/sim && ech # get the first character of what the compiler says it is, unless it's 'x86_64' doh ARCH := ${shell $(CC) -dumpmachine | sed -e 's/^x/i/' -e 's/\(.\).*/\1/'} -CFLAGS += -O2 -Wall +CFLAGS += -O2 -Wall -Wextra -Werror -Wno-unused-parameter \ + -Wno-unused-result -Wno-missing-field-initializers \ + -Wno-sign-compare CFLAGS += -g CORE_CFLAGS = -nostdinc -DAVR_CORE=1 -- 2.39.5