From 222bd07e9df5e3b5a367d1282b43fd3a827a7552 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Fri, 4 Aug 2006 16:15:16 +0000 Subject: * configure.in: add -Wdeclaration-after-statement * dbus/dbus-connection.c: change all the pending call stuff to reflect the fact that pending call operations use the connection lock * dbus/dbus-pending-call.c: add locking here * dbus/dbus-errors.c (struct DBusRealError): don't make the name field const consistent with how message field is done --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 65736a89..dfad86ed 100644 --- a/configure.in +++ b/configure.in @@ -138,6 +138,11 @@ if test "x$GCC" = "xyes"; then *) CFLAGS="$CFLAGS -Wsign-compare" ;; esac + case " $CFLAGS " in + *[\ \ ]-Wdeclaration-after-statement[\ \ ]*) ;; + *) CFLAGS="$CFLAGS -Wdeclaration-after-statement" ;; + esac + if test "x$enable_ansi" = "xyes"; then case " $CFLAGS " in *[\ \ ]-ansi[\ \ ]*) ;; -- cgit