summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLouis <35883445+louist103@users.noreply.github.com>2023-11-14 22:12:51 -0500
committerLouis <35883445+louist103@users.noreply.github.com>2023-11-14 22:12:51 -0500
commit7c7021f3a211a3384d25b5a4175040750d50c248 (patch)
tree7f279cb2bf9177fb6e8fb8d7f82c0ba7e14b5ad0 /Makefile
parent8e194033bc2a47b3942e219d90524bb2630c8de6 (diff)
warningsoriginal
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 69f7b69b5..815893290 100644
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ endif
# Check code syntax with host compiler
ifneq ($(RUN_CC_CHECK),0)
- CHECK_WARNINGS := -Wall -Wextra -Werror-implicit-function-declaration -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-variable -Wno-missing-braces -Wno-unused-but-set-variable -Wno-unused-label -Wno-sign-compare -Wno-tautological-compare
+ CHECK_WARNINGS := -Wall -Wextra -Werror-implicit-function-declaration -Wno-enum-compare -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-variable -Wno-missing-braces -Wno-unused-but-set-variable -Wno-unused-label -Wno-sign-compare -Wno-tautological-compare
CC_CHECK := gcc -fno-builtin -fsyntax-only -funsigned-char -fdiagnostics-color -std=gnu89 -D _LANGUAGE_C -D NON_MATCHING $(IINC) -nostdinc $(CHECK_WARNINGS)
ifneq ($(WERROR), 0)
CC_CHECK += -Werror
@@ -130,7 +130,7 @@ ASFLAGS := -march=vr4300 -32 -Iinclude
MIPS_VERSION := -mips2
# we support Microsoft extensions such as anonymous structs, which the compiler does support but warns for their usage. Suppress the warnings with -woff.
-CFLAGS += -G 0 -non_shared -fullwarn -verbose -Xcpluscomm $(IINC) -nostdinc -Wab,-r4300_mul -woff 649,838,712,516
+CFLAGS += -G 0 -non_shared -fullwarn -verbose -Xcpluscomm $(IINC) -nostdinc -Wab,-r4300_mul -woff 649,838,712,516,624
# Use relocations and abi fpr names in the dump
OBJDUMP_FLAGS := --disassemble --reloc --disassemble-zeroes -Mreg-names=32