mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-03 00:48:05 +02:00
Disable deprecation warnings for stable branch
We're not going to replace deprecated functions here, similar to commit
88e0ccb2 in the dbus-1.10 branch.
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
d5746922de
commit
93efaf7873
1 changed files with 3 additions and 0 deletions
|
|
@ -323,9 +323,12 @@ fi
|
|||
dnl Intentional:
|
||||
dnl - $DISABLE_WARNINGS disables unused-label warnings if not
|
||||
dnl checking or not asserting (tested further below)
|
||||
dnl - we are not going to stop using deprecated functions on a stable
|
||||
dnl branch
|
||||
dnl - missing field initializers being 0 is a C feature, not a bug
|
||||
dnl - unused-parameter is to make writing callbacks less annoying
|
||||
DISABLE_WARNINGS="$DISABLE_WARNINGS
|
||||
-Wno-deprecated-declarations
|
||||
-Wno-missing-field-initializers
|
||||
-Wno-unused-parameter"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue