On Mo, 2013-01-14 at 20:57 -0800, Dan Hitt wrote:
> I would really like to disable only the never used warnings
> (and i'd like to do it on a method-by-method basis, because,
> after all, the "never used" warning is very useful).
>
> Here's a sort of minimal example, to be put in a file called NotUsed.vala:
>
> // Compile with:
> // valac --library=lib NotUsed.vala -X -fPIC -X -shared -o lib.so
>
> class NotUsed {
> public uint method() {return 0;}
> }
>
Declare the class "public".
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list