]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Autotools: enable -Wsign-compare and optionally -Werror=sign-compare
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 4 Mar 2015 10:41:47 +0000 (10:41 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 4 Mar 2015 18:40:53 +0000 (18:40 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
configure.ac

index 5f78d1993c2fa19649ab393a39c814d415ce88e1..7443ae76c65a1da0fe003c3d0c3fcd2259c104b1 100644 (file)
@@ -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 \
   ])