[patch] make dbus compile with -pedantic
John (J5) Palmieri
johnp at redhat.com
Wed Oct 19 08:12:30 PDT 2005
I think it was sent to bugzilla but there was a HD meltdown that ate it.
I will commit.
On Wed, 2005-10-19 at 19:42 +0800, Trent Lloyd wrote:
> Yeh i sent this same patch before, but I'm not sure where it went, I
> guess nobody committed it.
> On Wed, Oct 19, 2005 at 01:40:28PM +0200, Timo Hoenig wrote:
> > Hi,
> > the attached patch fixes D-BUS to compile with '-pedantic'.
> > IIRC this fix (or a similar one) was sent to the list before but somehow
> > got lost.
> > Thanks,
> > Timo
> > --- dbus/dbus-arch-deps.h.in
> > +++ dbus/dbus-arch-deps.h.in
> > @@ -29,7 +29,7 @@
> > #include <dbus/dbus-macros.h>
> > -DBUS_BEGIN_DECLS;
> > +DBUS_BEGIN_DECLS
> > #if @DBUS_HAVE_INT64@
> > #define DBUS_HAVE_INT64 1
> > @@ -51,6 +51,6 @@
> > typedef @DBUS_INT16_TYPE@ dbus_int16_t;
> > typedef unsigned @DBUS_INT16_TYPE@ dbus_uint16_t;
> > -DBUS_END_DECLS;
> > +DBUS_END_DECLS
> > #endif /* DBUS_ARCH_DEPS_H */
> > _______________________________________________
> > dbus mailing list
> > dbus at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/dbus
More information about the dbus