Re: [Vala] Crash when generate .gir
- From: Derek Dai <daiderek gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Crash when generate .gir
- Date: Wed, 22 Feb 2012 18:23:53 +0800
Finally I figured out that crashed program is not valac but g-ir-compiler,
sorry for wrong information.
The .gir generated by valac with the code in previous mail causes
g-ir-compiler segfault. If we simply
replace MyEnum with int, everything just fine.
namespace Bla
{
public enum MyEnum
{
VALUE1,
VALUE2
}
public class MyObj
{
public *int* e;
}
}
Derek Dai
On Wed, Feb 22, 2012 at 1:57 PM, Derek Dai <daiderek gmail com> wrote:
I try to use valac (0.12, 0.14, 0.16) to generate .gir. I found that if my
vala code look like below
namespace Bla
{
public enum MyEnum
{
VALUE1,
VALUE2
}
public class MyObj
{
public MyEnum e;
}
}
valac will segfault. If I replace
public MyEnum e;
with
public int e;
Everything just fine.
Derek Dai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]