diff options
author | Martin Pitt <martinpitt@users.noreply.github.com> | 2017-02-26 21:28:43 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-26 21:28:43 +0100 |
commit | acdf6ac97d2fd114f0edde899db53d9fd235a2b2 (patch) | |
tree | df75788807607079bd7446e1d60faea2fc888444 | |
parent | d97beb0e16550fcae1ebbd76ba6d340690c0f4f0 (diff) |
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.
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |