Re: [Vala] [Genie] Problem with enums in genie

2010-09-28 Thread Nicolas
Hi, Thanks you Jamie, i can access my enum ! I have a simple question about enum, why if i change 'value1 = 15' by 'value1 = 15', valac does not return an error, only gcc (error: enumerator value for 'ENUM_TEST_value1' is not an integer constant) [indent=4] enum EnumTest value1 = 15

Re: [Vala] [Genie] Problem with enums in genie

2010-09-27 Thread Nicolas
Hello, There is a long time that I did not use enums in my code and now I see that it no longer works as before, what's the problem? [indent=4] enum EnumTest value1 = Hello ! init print EnumTest.value1 test-enum.gs:7.11-7.25: error: Access to private member `EnumTest.value1'

Re: [Vala] [Genie] Problem with enums in genie

2010-09-27 Thread Jamie McCracken
I need to update the genie parser to fix this error - will have it done end of today It should work fine with an earlier version of vala as it only appears in the latest release On Mon, 2010-09-27 at 14:55 +0200, Nicolas wrote: Hello, There is a long time that I did not use enums in my code

Re: [Vala] [Genie] Problem with enums in genie

2010-09-27 Thread Jamie McCracken
Should now be fixed in master jamie On Mon, 2010-09-27 at 14:55 +0200, Nicolas wrote: Hello, There is a long time that I did not use enums in my code and now I see that it no longer works as before, what's the problem? [indent=4] enum EnumTest value1 = Hello ! init