diff options
author | Patrick Griffis <tingping@tingping.se> | 2016-02-18 08:54:19 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-02-18 08:54:19 -0500 |
commit | 05385f247917cae2d15f648e1983e0d82b9ae923 (patch) | |
tree | 090ae69d97a00ea4860bd8fbe53d91e59e0db87c | |
parent | 650bddcfd1399c875156cec8be37e331835ce129 (diff) |
build: Enable more warnings/errors
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bacba0aa..5f1c18a7 100644 --- a/configure.ac +++ b/configure.ac @@ -581,13 +581,19 @@ CC_CHECK_FLAGS_APPEND([CFLAGS], [CFLAGS], [ \ -funsigned-char \ -Wall \ -Wextra \ + -Wstrict-prototypes \ -Wno-unused-parameter \ -Wno-sign-compare \ -Wno-pointer-sign \ -Wno-missing-field-initializers \ -Wno-unused-result \ -Werror=format-security \ + -Werror=init-self \ -Werror=declaration-after-statement \ + -Werror=missing-include-dirs \ + -Werror=date-time \ + -Werror=implicit-function-declaration \ + -Werror=pointer-arith \ ]) dnl ********************************************************************* |