summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-06-10 11:27:33 +0200
committerLennart Poettering <lennart@poettering.net>2015-06-10 11:27:33 +0200
commit0117db19b69f89e8e0a91be01097fe6de30c7c07 (patch)
treeae2ad2843caeb35e8d8a21bb7809ae65cfe69a81
parent229d17cf12d46dd6aa3dc1011277c9ff71f5cc4c (diff)
parent8dc31a63981267f257583ef82ceb79859ff243f8 (diff)
Merge pull request #135 from zonque/buildsys
build-sys: turn some warnings into errors
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 5719075934..b767175fa1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,10 +159,12 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-Wdeclaration-after-statement \
-Wfloat-equal \
-Wsuggest-attribute=noreturn \
- -Wmissing-prototypes \
+ -Werror=missing-prototypes \
+ -Werror=implicit-function-declaration \
+ -Werror=missing-declarations \
+ -Werror=return-type \
-Wstrict-prototypes \
-Wredundant-decls \
- -Wmissing-declarations \
-Wmissing-noreturn \
-Wshadow \
-Wendif-labels \