On Thu, 2014-03-06 at 08:42 +0800, Nor Jaidi Tuah wrote:
> > /home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c:377:2:
> > warning: 'g_type_init' is deprecated (declared at
> > /usr/include/glib-2.0/gobject/gtype.h:669)
> [-Wdeprecated-declarations]
> >   g_type_init ();
> >   ^

You can avoid this one by passing --target-glib=2.36 (or
--target-glib=2.38) to valac.

But really, trying to fight warnings in the generated C code is a losing
game.  In my projects I always compile the C code with -w.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to