]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
build-sys: make "incomatible pointer types" warnings fatal (#5459)
authorMartin Pitt <martinpitt@users.noreply.github.com>
Sun, 26 Feb 2017 20:28:43 +0000 (21:28 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 26 Feb 2017 20:28:43 +0000 (21:28 +0100)
This isn't something that can be safely ignored, and easy to miss. This
prevents errors like issue #5452.

configure.ac

index d98cc4d9bad4d538f512bc1c7f7193b7c9093571..3835413ad59e4412687ee53059c89f0131a6aa1a 100644 (file)
@@ -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 \