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
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'
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
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