From 83d33f36fcf46dec8ea99b86563a19885be4bd8e Mon Sep 17 00:00:00 2001 From: red031000 Date: Fri, 29 May 2020 18:07:21 +0100 Subject: add -W all -W error to makefiles --- arm7/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arm7') diff --git a/arm7/Makefile b/arm7/Makefile index 4d89fbd1..dd045f23 100644 --- a/arm7/Makefile +++ b/arm7/Makefile @@ -83,7 +83,7 @@ OBJCOPY := $(CROSS)objcopy # ./tools/mwccarm/2.0/base/mwasmarm.exe -proc arm5te asm/arm7_thumb.s -o arm7.o ASFLAGS = -proc arm4t -i .. -CFLAGS = -O4,p -proc v4t -fp soft -lang c99 -Cpp_exceptions off -ir ../include -ir ../include-mw -ir ../arm9/lib/include # temporary fix while arm7 libos hasn't been decomped +CFLAGS = -O4,p -proc v4t -fp soft -lang c99 -Cpp_exceptions off -ir ../include -ir ../include-mw -ir ../arm9/lib/include -W all -W error # temporary fix while arm7 libos hasn't been decomped LDFLAGS = -map -nodead -w off -proc v4t -interworking -map -symtab -m _start ####################### Other Tools ######################### -- cgit v1.2.3 From 0982a1271d82c1fb419865e9deca701f027373f7 Mon Sep 17 00:00:00 2001 From: red031000 Date: Sat, 30 May 2020 17:48:14 +0100 Subject: remove -W error --- arm7/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arm7') diff --git a/arm7/Makefile b/arm7/Makefile index 15ea51aa..08f8d64c 100644 --- a/arm7/Makefile +++ b/arm7/Makefile @@ -83,7 +83,7 @@ OBJCOPY := $(CROSS)objcopy # ./tools/mwccarm/2.0/base/mwasmarm.exe -proc arm5te asm/arm7_thumb.s -o arm7.o ASFLAGS = -proc arm4t -i .. -CFLAGS = -O4,p -proc v4t -fp soft -lang c99 -Cpp_exceptions off -ir ../include -ir ../include-mw -ir ../arm9/lib/include -W all -W error # temporary fix while arm7 libos hasn't been decomped +CFLAGS = -O4,p -proc v4t -fp soft -lang c99 -Cpp_exceptions off -ir ../include -ir ../include-mw -ir ../arm9/lib/include -W all # temporary fix while arm7 libos hasn't been decomped LDFLAGS = -map -nodead -w off -proc v4t -interworking -map -symtab -m _start ####################### Other Tools ######################### -- cgit v1.2.3