Commit 4c596ecc authored by Simon McVittie's avatar Simon McVittie

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: Simon McVittie's avatarSimon McVittie <>
Reviewed-by: Philip Withnall's avatarPhilip Withnall <>
parent f1fe2928
......@@ -1396,10 +1396,12 @@ TP_COMPILER_WARNINGS([WARNING_CFLAGS],
dnl gcc can't cope with inconsistent tab/space indentation
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
cast-function-type \
deprecated-declarations \
missing-field-initializers \
misleading-indentation \
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