mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 04:49:45 +00:00
promote some cc_check warnings to errors (#1687)
This commit is contained in:
parent
c83b4cf107
commit
495b9adeea
1
Makefile
1
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.
|
||||
|
Loading…
Reference in New Issue
Block a user