On Clang, error on implicit function declaration by default.

This commit is contained in:
Anthony J. Bentley
2014-11-06 21:54:49 -07:00
parent 7ad634febd
commit 635014b74d

View File

@@ -1,7 +1,8 @@
.POSIX:
REALCFLAGS = ${CFLAGS} -Wall -Iinclude -Iinclude/asm/gameboy -g -std=c99 \
-D_POSIX_C_SOURCE=200112L
WARNFLAGS = -Wall -Werror=implicit-int
REALCFLAGS = ${CFLAGS} ${WARNFLAGS} -Iinclude -Iinclude/asm/gameboy -g \
-std=c99 -D_POSIX_C_SOURCE=200112L
# User-defined variables
PREFIX = /usr/local