From fa62fc296dbd1ac7407ce64a86fa2a245de08e01 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 28 Nov 2016 18:48:28 +0000 Subject: [PATCH] Suppress -Wmisleading-indentation for this stable branch We are not going to fix the inconsistent tab/space indentation in a stable branch just to keep gcc happy. Signed-off-by: Simon McVittie --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 085ec6410..7fca2b233 100644 --- a/configure.ac +++ b/configure.ac @@ -1383,6 +1383,8 @@ TP_COMPILER_WARNINGS([WARNING_CFLAGS], dnl checking or not asserting dnl - missing field initializers being 0 is a C feature, not a bug dnl - unused-parameter is to make writing callbacks less annoying + dnl - misleading-indentation is disabled for this stable branch because + dnl gcc can't cope with inconsistent tab/space indentation dnl dnl To be fixed one day: dnl - pointer-sign is a workaround for fd.o #15522 @@ -1391,6 +1393,7 @@ TP_COMPILER_WARNINGS([WARNING_CFLAGS], [$DISABLE_UNUSED_WARNINGS \ deprecated-declarations \ missing-field-initializers \ + misleading-indentation \ unused-parameter \ pointer-sign \ type-limits \ -- 2.47.3