David Given <[EMAIL PROTECTED]> writes:
> Hello,
>
> (b)
>
> This piece of standalone code:
>
> using GLib;
>
> class TestObject : GLib.Object
Shouldn't it be public class?
> {
> }
>
> public TestObject o;
>
> ...fails to compile with this error:
>
> In file included from test.c:2:
> test.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> error: cc exited with status 256
> Compilation failed: 1 error(s), 0 warning(s)
>
> Looking at test.h, it contains:
>
> G_BEGIN_DECLS
> extern TestObject* o;
> G_END_DECLS
>
> ...with no declaration of TestObject. This appears wrong to me.
>
>
Regards
--
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list