summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@users.noreply.github.com>2017-02-26 21:28:43 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-26 21:28:43 +0100
commitacdf6ac97d2fd114f0edde899db53d9fd235a2b2 (patch)
treedf75788807607079bd7446e1d60faea2fc888444
parentd97beb0e16550fcae1ebbd76ba6d340690c0f4f0 (diff)
build-sys: make "incomatible pointer types" warnings fatal (#5459)
This isn't something that can be safely ignored, and easy to miss. This prevents errors like issue #5452.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d98cc4d9ba..3835413ad5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -167,6 +167,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-Werror=implicit-function-declaration \
-Werror=missing-declarations \
-Werror=return-type \
+ -Werror=incompatible-pointer-types \
-Werror=format=2 \
-Wstrict-prototypes \
-Wredundant-decls \