You have to change the glib-2.0.vapi distributed with vala. We as
maintainers should also fix that I guess.


On Tue, Jan 7, 2014 at 4:08 PM, Michele Dionisio <[email protected]
> wrote:

> sorry how I can do that?
>
>
> 2014/1/7 Luca Bruno <[email protected]>
>
>> On 07/01/2014 15:51, Michele Dionisio wrote:
>>
>>> Hi I'm working not with valac 0.22.
>>>
>>> building with
>>>
>>> --enable-experimental-non-null
>>>
>>> there is no way to define
>>>
>>> private const GLib.OptionEntry[] options = {
>>>                 // --version
>>>                 { "version", 0, 0, OptionArg.NONE, ref version, "Display
>>> version
>>> number", null },
>>>                 // list terminator
>>>                 { null }
>>>         };
>>>
>>> because we have an the following error
>>>
>>> main.vala:154.3-154.3: error: expression type not allowed as initializer
>>>
>>>                 { null }
>>>
>>>
>>> someone have any idea about how has to be fixed that issue?
>>>
>>
>> Making OptionEntry.long_name nullable.
>> _______________________________________________
>> vala-list mailing list
>> [email protected]
>> https://mail.gnome.org/mailman/listinfo/vala-list
>>
>
>


-- 
www.debian.org - The Universal Operating System
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to