From b0a523248766c1e001ea0f5d2e40c23b3178e629 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 9 Mar 2020 14:18:09 +0100 Subject: Fix a bunch of compiler warnings --- controller/fw/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'controller/fw/Makefile') diff --git a/controller/fw/Makefile b/controller/fw/Makefile index fac9169..a7d690a 100644 --- a/controller/fw/Makefile +++ b/controller/fw/Makefile @@ -111,7 +111,8 @@ COMMON_CFLAGS += -DTRANSMISSION_SYMBOLS=$(TRANSMISSION_SYMBOLS) # for musl CFLAGS += -Dhidden= -SIM_CFLAGS += -lm -DSIMULATION +SIM_CFLAGS += -lm -DSIMULATION -fsanitize=address +SIM_CFLAGS += -Wall -Wextra -Wpedantic -Wshadow -Wimplicit-function-declaration -Wundef INT_CFLAGS += -Wall -Wextra -Wpedantic -Wshadow -Wimplicit-function-declaration -Wundef INT_CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes -- cgit