[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Vala] trunk fails compiling .vala files.



Me too, you can switch to HEAD-1 to get no errors

2008/8/21 Victor Manuel Jáquez Leal <ceyusa gmail com>:
> Me! since yesterday
>
> On Thu, Aug 21, 2008 at 6:11 PM, Yu Feng <rainwoodman gmail com> wrote:
>> Dear Juerg, and others,
>>
>> A trunk built from a vala 0.3.4 can not compile any program, giving the
>> following error.
>> ----oxoxoxoxoxoxoxoxox----
>> (lt-valac:9022): GLib-GObject-WARNING **: invalid cast from
>> `GeeArrayList' to `GObject'
>>
>> (lt-valac:9022): GLib-GObject-CRITICAL **: g_object_get: assertion
>> `G_IS_OBJECT (object)' failed
>> **
>> ** ERROR:(arraylist.c:164):gee_array_list_real_get: assertion failed:
>> (index >= 0 && index < self->priv->_size)
>> ----oxoxoxoxoxoxoxoxox----
>>
>> I believe it is because of
>> ------------------------------------------------------------------------
>> r1757 | juergbi | 2008-08-14 17:22:53 -0400 (Thu, 14 Aug 2008) | 5 lines
>>
>> 2008-08-14  Jürg Billeter  <j bitron ch>
>>
>>        Don't derive from GObject in libvala where not necessary to improve
>>        compilation performance
>> ----------------------
>>
>> check gee/collection.c
>>
>> $ grep G_OBJECT *.c
>> collection.c:   g_object_get (G_OBJECT (self), "size", &value, NULL);
>> map.c:  g_object_get (G_OBJECT (self), "size", &value, NULL);
>>
>> Can anyone reproduce the problem?
>>
>> Best,
>>
>>
>> Yu
>>
>>
>> _______________________________________________
>> Vala-list mailing list
>> Vala-list gnome org
>> http://mail.gnome.org/mailman/listinfo/vala-list
>>
> _______________________________________________
> Vala-list mailing list
> Vala-list gnome org
> http://mail.gnome.org/mailman/listinfo/vala-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]