From: Martin Pitt Date: Sun, 26 Feb 2017 20:28:43 +0000 (+0100) Subject: build-sys: make "incomatible pointer types" warnings fatal (#5459) X-Git-Tag: v233~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=acdf6ac97d2fd114f0edde899db53d9fd235a2b2;p=thirdparty%2Fsystemd.git 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. --- diff --git a/configure.ac b/configure.ac index d98cc4d9bad..3835413ad59 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 \