Re: [Gambas-user] Conflict discovered in file....

2014-10-31 Thread Ru Vuott
Thanks. vuott Ven 31/10/14, Benoît Minisini ha scritto: Oggetto: Re: [Gambas-user] Conflict discovered in file A: "mailing list for gambas users" Data: Venerdì 31 ottobre 2014, 23:23 Le 31/10/2014 23:02, Ru Vuott a écrit : > Uh.

Re: [Gambas-user] Conflict discovered in file....

2014-10-31 Thread Benoît Minisini
Le 31/10/2014 23:02, Ru Vuott a écrit : > Uh. no, I suppose I didn't solve the problem. > > Well, now trying updating I obtain this message: > > ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for

Re: [Gambas-user] Conflict discovered in file....

2014-10-31 Thread Ru Vuott
Uh. no, I suppose I didn't solve the problem. Well, now trying updating I obtain this message: ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) svn: E155004: Working copy '/home/vuott/t

Re: [Gambas-user] JIT bug with complex string substitutions

2014-10-31 Thread Emil Lenngren
Hi. There was a problem with the IIf function. If you had two strings as the last two arguments, but one of them was a string constant, but not the other, it failed. I fixed this in the latest revision. /Emil 2014-10-12 21:11 GMT+02:00 Emil Lenngren : > Hi. I'll check. > > /Emil > Den 12 okt 20

Re: [Gambas-user] gb.jit crash

2014-10-31 Thread Benoît Minisini
Le 31/10/2014 21:56, Emil Lenngren a écrit : > And this is done in the function JR_object_cast in gb_runtime.c, which is > called from jitted code when objects are converted to other object types. > OK, I see it... mmm... -- Benoît Minisini --

Re: [Gambas-user] gb.jit crash

2014-10-31 Thread Emil Lenngren
And this is done in the function JR_object_cast in gb_runtime.c, which is called from jitted code when objects are converted to other object types. 2014-10-31 21:55 GMT+01:00 Emil Lenngren : > The problem is the signature of the _convert functions in the classes. > Before they were OBJECT* _conve

Re: [Gambas-user] gb.jit crash

2014-10-31 Thread Emil Lenngren
The problem is the signature of the _convert functions in the classes. Before they were OBJECT* _convert(CLASS* src, CLASS* class) but now they are bool _convert(CLASS* src, CLASS* class, VALUE* value). The JIT calls the function using the first one. 2014-10-31 21:49 GMT+01:00 Benoît Minisini : >

Re: [Gambas-user] gb.jit crash

2014-10-31 Thread Benoît Minisini
Le 31/10/2014 21:40, Emil Lenngren a écrit : > Hi! > Actually this will also fail: > > Dim a As Integer[] > a = ["1"] > > The problem is with the "new" _convert mechanism, introduced in > http://sourceforge.net/p/gambas/code/4908/. The JIT code expects the older > API, which therefore crash... > I

Re: [Gambas-user] gb.jit crash

2014-10-31 Thread Emil Lenngren
Hi! Actually this will also fail: Dim a As Integer[] a = ["1"] The problem is with the "new" _convert mechanism, introduced in http://sourceforge.net/p/gambas/code/4908/. The JIT code expects the older API, which therefore crash... I haven't found out how much refactor needs to be done to support

[Gambas-user] gb.jit crash

2014-10-31 Thread Benoît Minisini
Hi Emil, The following little project segfaults when the jit compiler is requested. If you can look at it... -- Benoît Minisini test-jit-0.0.1.tar.gz Description: application/gzip -- __

Re: [Gambas-user] Conflict discovered in file....

2014-10-31 Thread Ru Vuott
Hello, well, re-starting from Terminal ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk a message suggests me to run: make clean So, I run ~ $ /trunkmake clean and then I started again from ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk and so on. It worked.