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.
This commit is contained in:
Martin Pitt
2017-02-26 21:28:43 +01:00
committed by Lennart Poettering
parent d97beb0e16
commit acdf6ac97d

View 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 \