Re: [fpc-devel] Compiler 240 (and MySql)

2010-02-22 Thread Bernd Mueller
Carsten Bager wrote: I have a problem with the new 240 compiler. I get errors when calling functions in the sysutils unit. I have tested the 251 compiler, and it was exactly the same. I am normally using the 224 compiler, and it works fine. [...] program hw1; uses sysutils; Type Datetime_

Re: [fpc-devel] TMultiReadExclusiveWriteSynchronizer does not allow "read lock" promoting to a "write lock"

2010-02-22 Thread Inoussa OUEDRAOGO
2010/2/19 Nikolai Zhubr : > 19.02.2010 23:02, Inoussa OUEDRAOGO: >> >> Hi >> >> The TMultiReadExclusiveWriteSynchronizer implementation does not allow >> "read lock" promoting >> to a "write lock". The program above hang in FPC 2.4 and 2.5.x while >> working in Delphi and >> FPC 2.2.x. It hangs at

Re: [fpc-devel] Compiler 240 (and MySql)

2010-02-22 Thread Bernd Mueller
Bernd Mueller wrote: I can confirm, that the program crashes on ARM-Linux/OABI/FPA/uClibc compiled with fpc 2.4.0. I think the problem is related to floating point, since an ordinary "writeln(1 / 3);" crashes the machine too. my next guess is, that the 2.4.0 compiler has problems concernin

Re: [fpc-devel] Compiler 240 (and MySql)

2010-02-22 Thread Jonas Maebe
On 22 Feb 2010, at 18:02, Bernd Mueller wrote: > The program runs fine, if the optimization is disabled. The problem is that none of the compiler developers has a system to practically test FPA support, so it does not get tested at all... Jonas___ f