summary refs log tree commit diff stats
path: root/configure.ac
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-02-18 08:54:19 -0500
committerPatrick Griffis <tingping@tingping.se>2016-02-18 08:54:19 -0500
commit05385f247917cae2d15f648e1983e0d82b9ae923 (patch)
tree090ae69d97a00ea4860bd8fbe53d91e59e0db87c /configure.ac
parent650bddcfd1399c875156cec8be37e331835ce129 (diff)
build: Enable more warnings/errors
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bacba0aa..5f1c18a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -581,13 +581,19 @@ CC_CHECK_FLAGS_APPEND([CFLAGS], [CFLAGS], [ \
 	-funsigned-char \
 	-Wall \
 	-Wextra \
+	-Wstrict-prototypes \
 	-Wno-unused-parameter \
 	-Wno-sign-compare \
 	-Wno-pointer-sign \
 	-Wno-missing-field-initializers \
 	-Wno-unused-result \
 	-Werror=format-security \
+	-Werror=init-self \
 	-Werror=declaration-after-statement \
+	-Werror=missing-include-dirs \
+	-Werror=date-time \
+	-Werror=implicit-function-declaration \
+	-Werror=pointer-arith \
 ])
 
 dnl *********************************************************************