1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-31 17:17:43 +03:00

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 \