From ef892a8ea7afedf6f762102b2777e8320d5bba5a Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 4 Mar 2015 10:41:47 +0000 Subject: [PATCH 4/5] Autotools: enable -Wsign-compare and optionally -Werror=sign-compare Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289 --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5f78d19..7443ae7 100644 --- a/configure.ac +++ b/configure.ac @@ -1362,13 +1362,12 @@ TP_COMPILER_WARNINGS([WARNING_CFLAGS], dnl - unused-parameter is to make writing callbacks less annoying dnl dnl To be fixed one day: - dnl - sign-compare and pointer-sign are workarounds for fd.o #17433 + dnl - pointer-sign is a workaround for fd.o #15522 dnl - type-limits is probably a bug too, but having the rest of -Wextra dnl is better than nothing [$DISABLE_UNUSED_WARNINGS \ missing-field-initializers \ unused-parameter \ - sign-compare \ pointer-sign \ type-limits \ ]) -- 2.1.4