mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-03-17 14:50:46 +01:00
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>
This commit is contained in:
parent
3f407671ec
commit
fa62fc296d
1 changed files with 3 additions and 0 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue