mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 21:40:03 +00:00
CCCHECK: Add -Werror=implicit-function-declaration (#1979)
This commit is contained in:
parent
93b687e43f
commit
264581ff3f
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -136,6 +136,7 @@ INC := -Iinclude -Iinclude/libc -Isrc -I$(BUILD_DIR) -I. -I$(EXTRACTED_DIR)
|
|||
|
||||
# Check code syntax with host compiler
|
||||
CHECK_WARNINGS := -Wall -Wextra -Wno-format-security -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-variable -Wno-missing-braces
|
||||
CHECK_WARNINGS += -Werror=implicit-function-declaration
|
||||
|
||||
# The `cpp` command behaves differently on macOS (it behaves as if
|
||||
# `-traditional-cpp` was passed) so we use `gcc -E` instead.
|
||||
|
|
Loading…
Reference in a new issue