[Vala] --enable-experimental-non-null and GLib.OptionEntry[]
- From: Michele Dionisio <michele dionisio gmail com>
- To: Vala List <vala-list gnome org>
- Subject: [Vala] --enable-experimental-non-null and GLib.OptionEntry[]
- Date: Tue, 7 Jan 2014 15:51:52 +0100
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?
regards
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]