From 934925396f9be6886c6968966e3f67fe073f38b1 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 23 Jul 2018 18:25:18 +0100 Subject: [PATCH] build: Disable new gcc 8 warning -Wcast-function-type The foreach(list, (DBusForeachFunction) free, NULL) idiom seems too entrenched to remove it from stable branches. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107349 Signed-off-by: Simon McVittie --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 3d4de79b..ce07d4e5 100644 --- a/configure.ac +++ b/configure.ac @@ -1396,10 +1396,12 @@ TP_COMPILER_WARNINGS([WARNING_CFLAGS], dnl gcc can't cope with inconsistent tab/space indentation dnl dnl To be fixed one day: + dnl - cast-function-type is fd.o #107349 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 \ + cast-function-type \ deprecated-declarations \ missing-field-initializers \ misleading-indentation \ -- 2.18.0