summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2024-09-27 14:35:29 +0200
committerGitHub <noreply@github.com>2024-09-27 09:35:29 -0300
commit495b9adeea98d3c7812418a0d552d13ee803a079 (patch)
tree9d74dc5f9f4e015cb680fd9be234b14e4efb0e5e /Makefile
parentc83b4cf1079db85e0008dc62a617778c24e58bf8 (diff)
promote some cc_check warnings to errors (#1687)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 50e45425e..3e61a30f7 100644
--- a/Makefile
+++ b/Makefile
@@ -123,6 +123,7 @@ endif
# Check code syntax with host compiler
CC_CHECK_WARNINGS := -Wall -Wextra -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_WARNINGS += -Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -Werror=incompatible-pointer-types
# Have CC_CHECK pretend to be a MIPS compiler
MIPS_BUILTIN_DEFS := -DMIPSEB -D_MIPS_FPSET=16 -D_MIPS_ISA=2 -D_ABIO32=1 -D_MIPS_SIM=_ABIO32 -D_MIPS_SZINT=32 -D_MIPS_SZPTR=32
# The -MMD flags additionaly creates a .d file with the same name as the .o file.