]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Suppress -Wmisleading-indentation for this stable branch
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 28 Nov 2016 18:48:28 +0000 (18:48 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 28 Nov 2016 18:48:37 +0000 (18:48 +0000)
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 <simon.mcvittie@collabora.co.uk>
configure.ac

index 085ec6410c880335fa7a1e7968ba340dfcab0d1e..7fca2b23308e5c3c43a1f5a7933f1b1e68ec7e05 100644 (file)
@@ -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 \