From e855c2f5d236f7c448f4ac7ca0e585a2bcb877ed Mon Sep 17 00:00:00 2001 From: Alex Bates Date: Wed, 21 Oct 2020 04:58:03 +0100 Subject: [PATCH] use -Wimplicit -Wuninitialized -Wshadow --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2791d54bea..08aab13ea2 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ TARGET = papermario CPPFLAGS = -Iinclude -Isrc -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2 ASFLAGS = -EB -Iinclude -march=vr4300 -mtune=vr4300 OLDASFLAGS = -EB -Iinclude -G 0 -CFLAGS = -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32 +CFLAGS = -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32 -Wimplicit -Wuninitialized -Wshadow LDFLAGS = -T undefined_syms.txt -T undefined_funcs.txt -T $(LD_SCRIPT) -Map $(BUILD_DIR)/papermario.map --no-check-sections ######################## Targets #############################