On 06/03/2014 05:43, Michael Catanzaro wrote:
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.
This warning is fixed in recent vala versions, regardless of --target-glib.
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list