Re: [fpc-pascal] Compiler raise an EAbort exception

2009-04-05 Thread Jonas Maebe
On 04 Apr 2009, at 21:47, ik wrote: I can't reproduce it with a stand alone test (made many attempts). I can however place my original unit, because it is a LGPL unit I'm creating in the bug report, and see what is wrong there. Will it be ok to do that in the bug report ? As long as you at

Re: [fpc-pascal] Compiler raise an EAbort exception

2009-04-04 Thread ik
Jonas, I can't reproduce it with a stand alone test (made many attempts). I can however place my original unit, because it is a LGPL unit I'm creating in the bug report, and see what is wrong there. Will it be ok to do that in the bug report ? Thanks, Ido On Sat, Apr 4, 2009 at 4:15 PM, Jonas

Re: [fpc-pascal] Compiler raise an EAbort exception

2009-04-04 Thread JoshyFun
Hello ik, Saturday, April 4, 2009, 3:07:58 PM, you wrote: i> SetLength(Prefix, High(aPrefix)); i> SetLength(NumberLength, High(aNumberLength)); Discarding the compiler crash, this code seems buggy to me, unless you know exactly the high/low of the arrays matches its length, I think it

Re: [fpc-pascal] Compiler raise an EAbort exception

2009-04-04 Thread Jonas Maebe
On 04 Apr 2009, at 15:07, ik wrote: Am I doing here something wrong (I think I can do better with coping between open and dynamic array) ? An unhandled exception in the compiler is always a compiler bug. Please submit a bug report with a compilable example that demonstrates the problem.