summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-07 12:56:45 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-02-07 19:45:30 +0100
commitff31122ebaed9e3de32a61b53118c73199865800 (patch)
tree16ed1bd038b4cb2d86df9952af598526b3b13932 /m4
parent4af8483ae4e32ca3d815f14aaf5f012b0ed98eed (diff)
downloadModemManager-ff31122ebaed9e3de32a61b53118c73199865800.tar.gz
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.
Diffstat (limited to 'm4')
-rw-r--r--m4/compiler_warnings.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4
index 6cea2f74e..223da2d3f 100644
--- a/m4/compiler_warnings.m4
+++ b/m4/compiler_warnings.m4
@@ -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])