diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-09 19:12:57 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-10 12:50:29 +0100 |
commit | 7883be2ec43dda0f7b4a30cf769779e366aaa905 (patch) | |
tree | 3e45454700b8c1f3c9879640cea61de859d94384 /configure.ac | |
parent | 61fbe65e4892f020dc743155fcca04c8dfc39221 (diff) |
Enable warnings about suspicious signed/unsigned comparisons, and fix them
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49725
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index afce653..39c6aaa 100644 --- a/configure.ac +++ b/configure.ac @@ -60,12 +60,11 @@ TP_COMPILER_WARNINGS([ERROR_CFLAGS], [test "x$enable_fatal_warnings" = xyes], missing-prototypes \ nested-externs \ pointer-arith \ + sign-compare \ strict-prototypes \ format-security \ init-self], - dnl missing-prototypes, sign-compare and strict-prototypes are bugs really [missing-field-initializers \ - sign-compare \ unused-parameter]) AC_SUBST([ERROR_CFLAGS]) |