Re: [xHarbour-developers] WITH OBJECT

2015-07-08 Thread Andi Jahja
Yes it is, -gc3 is to produce C source. I think the bug is there, not in the VM engine. So, not using -gc3 may perhaps cure the problem. Andi On Wed, 8 Jul 2015 14:35:52 -0700 Ron Pinkas ron.pin...@xharbour.com wrote: I am not by my computer, -gc3 is the switch to generate C calls instead of

Re: [xHarbour-developers] WITH OBJECT

2015-07-08 Thread Ron Pinkas
Hi Andi, Could you kindly post a reduced sample? As long as you are not using -gc3 (as per Przemek observation) and/or recursion which exceeds the fixed limit, then I am not aware of such issue. Ron On Jun 30, 2015, at 6:13 AM, Andi Jahja andi.ja...@yahoo.co.id wrote: Hi Przemek, Many

Re: [xHarbour-developers] WITH OBJECT

2015-07-08 Thread Ron Pinkas
Hi Przemek, :-) As always your input is greatly appreciated. I am sure I speak for everyone when I invite you to post fixes to problems you recognize. It probably would have taken you less time to fix the -gc3 omissions than writing this message. :-) In such cases it is more productive to

Re: [xHarbour-developers] WITH OBJECT

2015-07-08 Thread Andi Jahja
+1 I confirm that not using -gc3, the following snippet works fine: #include hbclass.ch proc main() local i for i := 1 to 100 begin sequence with object i if i 100 break

Re: [xHarbour-developers] WITH OBJECT

2015-07-08 Thread Ron Pinkas
Yes. On Jul 8, 2015 2:41 PM, Andi Jahja andi.ja...@yahoo.co.id wrote: Yes it is, -gc3 is to produce C source. I think the bug is there, not in the VM engine. So, not using -gc3 may perhaps cure the problem. Andi On Wed, 8 Jul 2015 14:35:52 -0700 Ron Pinkas ron.pin...@xharbour.com wrote:

Re: [xHarbour-developers] WITH OBJECT

2015-07-08 Thread Andi Jahja
Hi Ron: Sorry for I cannot post a reduced code. The application is quite huge and I do not know where it happened. Yes, I am using -gc3, but not aware where the recursion is. IMO, Przemek's example should demonstrate it. Andi On Wed, 8 Jul 2015 13:15:25 -0700 Ron Pinkas

Re: [xHarbour-developers] WITH OBJECT

2015-07-08 Thread Ron Pinkas
I am not by my computer, -gc3 is the switch to generate C calls instead of PCODE? On Jul 8, 2015 2:23 PM, Andi Jahja andi.ja...@yahoo.co.id wrote: Hi Ron: Sorry for I cannot post a reduced code. The application is quite huge and I do not know where it happened. Yes, I am using -gc3, but not

Re: [xHarbour-developers] WITH OBJECT

2015-06-30 Thread Przemyslaw Czerpak
On Mon, 29 Jun 2015, Andi Jahja wrote: Hi, Hello, I randomly get this error message: WITH OBJECT excessive nesting! As per default build, HB_MAX_WITH_OBJECT is preset to 64. But I am very sure that my application does not have that much nests. This occurs when I repeatedly execute sub

Re: [xHarbour-developers] WITH OBJECT

2015-06-30 Thread Andi Jahja
Hi Przemek, Many thanks for explanation. Fixing it is beyond my capabilities. For the time being, xHarbour users have to be careful when playing with With-Object and/or For-Each constructs. Andi On Tue, 30 Jun 2015 13:45:41 +0200 Przemyslaw Czerpak dru...@poczta.onet.pl wrote: On Mon, 29