c++ warning in generated bindings

Maciej Katafiasz ml at mathrick.org
Sat Jul 9 18:04:37 EST 2005


Dnia 07-07-2005, czw o godzinie 16:12 -0400, Colin Walters napisał:
> > Would it be reasonable here to explicitly cast the callback to a 
> > (gpointer) here?
> > 
> > stuff->cb = (gpointer) callback;
> 
> Yeah; the async stuff should probably be using the GCallback type and
> the G_CALLBACK() cast macro.

Isn't that required with GCC4?

Cheers,
Maciej

-- 
Being really good at C++ is like being really good at using rocks to
sharpen sticks. (Thant Tessman)
--------
Maciej Katafiasz <ml at mathrick.org>
http://mathrick.org



More information about the dbus mailing list