Hi Samuel, > > From: Daniel Wagner <[email protected]> > > > > This function was deprecated in version 2.30 and since then > > we have the g_atomic_int_add() which is essentially the same. > > Deprecating a function is fine, but breaking the API in such way between minor > versions is quite bad. > My debian testing box is still running 2.28 so your patch breaks my ConnMan > build. I suppose some autotools magic is needed or some ugly patches like > this: > > http://lists.freedesktop.org/archives/gstreamer-commits/2011-June/050928.html > > Marcel, what do you say ?
seems the GLib version ifdef is unavoidable. This is really stupid of GLib. That is not what I call a stable API :( I need to think about this a bit longer and how we can do this properly or if we should just switch to GCC builtin atomic functions for reference counting. Regards Marcel _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
