[patch] make dbus compile with -pedantic

Trent Lloyd lathiat at bur.st
Wed Oct 19 08:45:49 PDT 2005


On Wed, Oct 19, 2005 at 11:12:30AM -0400, John (J5) Palmieri wrote:
> I think it was sent to bugzilla but there was a HD meltdown that ate it.
> I will commit.

Ah yes I remember now, that sucked.

I think half the compile warnings of avahi are generated by this ;)

Trent

> 
> 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.
> > 
> > Trent
> > 
> > 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
> > 
> > 
> -- 

-- 
Trent Lloyd <lathiat at bur.st>
Bur.st Networking Inc.


More information about the dbus mailing list