[Nice] libnice broken with glib 2.36

Youness Alaoui youness.alaoui at collabora.co.uk
Thu Mar 21 15:22:10 PDT 2013


On 03/21/2013 05:20 PM, Olivier Crête wrote:
> On Thu, 2013-03-21 at 17:49 +0530, Rohan Garg wrote:
>> Hi everyone
>> It seems like libnice is broken again after the latest glib update to
>> 2.36 where GLib developers have deprecated g_type_init ( maybe even
>> more things, I didn't bother to go further than the first compile
>> error ).
>>
>> While I can add more ifdef's, this seems like a crappy solution. Any
>> ideas on how to proceed here?
> 
> You just need to define this before including glib and you won't get the
> deprecating warnings.
> 
> #define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_32
> 
> 
Oh cool, thanks Olivier, at least there's a way to avoid the deprecation :)
Rohan, could you test with that, and make sure it's defined everywhere glib is
included and test, then send me a patch so I can push it upstream?
Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/nice/attachments/20130321/422df259/attachment.pgp>


More information about the nice mailing list