Commit 50bd76ac authored by Simon McVittie's avatar Simon McVittie

Autotools: enable -Wsign-compare and optionally -Werror=sign-compare

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289Reviewed-by: Ralf Habacker's avatarRalf Habacker <ralf.habacker@freenet.de>
parent c3e345f1
......@@ -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 \
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment