From acdf6ac97d2fd114f0edde899db53d9fd235a2b2 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sun, 26 Feb 2017 21:28:43 +0100 Subject: 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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 \ -- cgit v1.2.3-54-g00ecf