Re: [Vala] Name clashes in generated C code

2010-12-28 Thread Bob Hazard
There is a little information in the developer-documentation section which is aimed at people hacking on the language itself http://live.gnome.org/Vala/CodeAttributes -- Sent from my Amiga ___ vala-list mailing list vala-list@gnome.org http://mail.gn

[Vala] Error compiling with gedit module

2010-12-28 Thread Damien Radtke
I can't get the gmodule to work correctly. pkg-config --print-provides gedit-2.20 returns 2.30.4, so I know it's installed. Valac succeeds, but then it quickly runs into a gcc error along the lines of "undefined reference to `gedit_document_new'". Any idea why this wouldn't be working? ___

[Vala] Are nested interfaces disallowed?

2010-12-28 Thread Anatol Pomozov
Hi, I have a class and I want to add a nested interface into it. public class AClass : Object { public interface BClass : Object { public void foo() { } } } Valac 0.10.0 fails with following error: a.vala:2.2-2.33: error: unexpected declaration in class public interface BClass : Objec

Re: [Vala] Name clashes in generated C code

2010-12-28 Thread Anatol Pomozov
On Tue, Dec 28, 2010 at 6:29 AM, Jan Hudec wrote: > On Mon, Dec 27, 2010 at 13:46:47 -0800, Anatol Pomozov wrote: >> Hi, >> >> I have a simple Vala program >> >> public struct Struct { string name; } >> public enum Type { STRUCT } >> >> [...] >> The problem here a name clash in generated Vala code

[Vala] [ANNOUNCE] Vala 0.10.2 - Compiler for the GObject type system

2010-12-28 Thread Jürg Billeter
We are pleased to announce version 0.10.2 of Vala, a compiler for the GObject type system. Vala 0.10.2 is now available for download at: http://download.gnome.org/sources/vala/0.10/ Changes since 0.10.1 * Bug fixes and binding updates. Vala is a new programming language that aims to bring mo

Re: [Vala] Name clashes in generated C code

2010-12-28 Thread Jan Hudec
On Mon, Dec 27, 2010 at 13:46:47 -0800, Anatol Pomozov wrote: > Hi, > > I have a simple Vala program > > public struct Struct { string name; } > public enum Type { STRUCT } > > [...] > The problem here a name clash in generated Vala code - TYPE_STRUCT > both generated as type of Struct > > #def