summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2016-11-28 18:48:28 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2016-11-28 18:48:37 +0000
commitfa62fc296dbd1ac7407ce64a86fa2a245de08e01 (patch)
treef1e24d414d91097a65772b9b6c5d729be5487f7e
parent3f407671ecf821eb38ea7af5b160bfb93a9f4584 (diff)
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 <simon.mcvittie@collabora.co.uk>
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 085ec641..7fca2b23 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 \