On Tue, Feb 17, 2009 at 09:00:38PM +0000, jokraut...@bluemail.ch wrote:
> Just recently I (Lazarus newcomer) converted a 4'500 lines tool for Finite 
> Element mesh manipulations from Delphi 5 to 
> Lazarus. 99.9% went extremely well (a big compliment to all contributers!), 
> but 4 small differences made a little bit 
> of headaches:
> 1. After finalisation of "For I:=B To E Do..." in Delphi is I=E+1, in Lazarus 
> it is I=E. (I remember, that using a 
> For loop counter after finalisation is not recommended, but...)

The latter is correct, you shouldn't. Worse it varies in Delphi too
depending on version and optimization level.

(2 and 3 skipped)

> 4. The stack seems to be limited to approx. 220 kB and to date I did not
> find the way to increase it ( (*$M, MinStackSize, MaxStackSize*) ?). A
> procedure trying to initialise approx. 800 kB for arrays caused a SIGSEGV.

I cannot reproduce this with a small tests, millions of bytes in size. Do
you have an example?
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to