build: do not warn about using deprecated methods
GValueArray is deprecated since GLib 2.31.14, but we need to use it for dbus-glib based code. We should re-enable deprecation warnings once we switch to GDBus.
This commit is contained in:
@@ -10,7 +10,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
|
||||
for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
|
||||
-Wdeclaration-after-statement -Wstrict-prototypes \
|
||||
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
|
||||
-fno-strict-aliasing; do
|
||||
-fno-strict-aliasing -Wno-deprecated-declarations; do
|
||||
SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $option"
|
||||
AC_MSG_CHECKING([whether gcc understands $option])
|
||||
|
||||
Reference in New Issue
Block a user