[make] make implicit function declarations illegal

This commit is contained in:
Travis Geiselbrecht
2012-03-21 00:14:50 -07:00
parent a753bbdd64
commit 6947f41ff6

View File

@@ -36,6 +36,7 @@ CONFIGHEADER := $(BUILDDIR)/config.h
INCLUDES := -I$(BUILDDIR) -Iinclude
CFLAGS := -O2 -g -fno-builtin -finline -W -Wall -Wno-multichar -Wno-unused-parameter -Wno-unused-function -include $(CONFIGHEADER)
CFLAGS += -Werror-implicit-function-declaration
#CFLAGS += -Werror
CPPFLAGS := -fno-exceptions -fno-rtti -fno-threadsafe-statics
#CPPFLAGS += -Weffc++