Re: [Lazarus] Bug in FPC 3.0 discovered
On 11-03-2016 09:57, LacaK wrote: Hello, this is notification for users, who plan upgrade to latest Lazarus 1.6 with FPC 3.0 from older versions which came with FPC 2.6.x There was discovered bug in FPC 3.0 (already fixed in trunk) when currency and double data types are involved in mathematical operations like addition or multiplication. Bug can be reproduced using simple example: var c: currency; d: double; begin c:=123.45; d:=100; writeln(c*d); // wrong result 12345 instead of 12345 end. Bug does not affects all platforms . For example Win32, Linux64 are not affected. But Win64 IS affected. This bug can cause unpredictable misbehavior. For example in database applications using fcl-db/sqlDB and NUMERIC or DECIMAL data types as described in bug report #29760 -Laco. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus I think this error, also related to this issue which reported in [1] http://bugs.freepascal.org/view.php?id=29781 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Desktops ?
On Fri, 11 Mar 2016, Ondrej Pokorny wrote: The OI gets correctly hidden if you load the desktop after the start of the IDE. So the problem is in IDE startup procedure that forces the OI to show. I can confirm this behaviour, yes. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Desktops ?
The OI gets correctly hidden if you load the desktop after the start of the IDE. So the problem is in IDE startup procedure that forces the OI to show. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Desktops ?
On 11.03.2016 14:18, Michael Van Canneyt wrote: Is the current desktops functionality supposed to restore windows that were hidden ? No. I have 1 desktop defined, "Default". I layouted my windows, closed the object inspector window, and used 'Save current desktop' to save it as default. I quit lazarus and restarted it. It shows a default empty project, and shows the object inspector. I loaded a (non-gui) project. The object inspector is still shown. Is this supposed to be so ? I would expect the object inspector to remain hidden. Me as well. My plan was to have 2 desktops: one for GUI projects, one for non-GUI projects, where the object inspector is useless and hence can remain hidden... I assume the OI is especially forced to be shown at the start to get the default desktop after first run of the IDE (where the OI is visible). This should be changed and the OI should be shown only when no configuration is present. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] ZMSQL...
Hello team! I can't install ZMSQL. I use Lazarus 1.6 and FPC 3.0.0. This is the error: zmquerydataset.pas(120,22) Fatal: no puedo encontrar LResources utilizado por ZMQueryDataSet. Comprueba si el paquete LCLBase se encuentra en las dependencias de paquete zmsql. Thank's -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Bug in FPC 3.0 discovered
On Fri, 11 Mar 2016, Mattias Gaertner wrote: On Fri, 11 Mar 2016 14:12:41 +0100 (CET) Michael Van Canneytwrote: On Fri, 11 Mar 2016, Mattias Gaertner wrote: On Fri, 11 Mar 2016 13:57:02 +0100 LacaK wrote: [...] There was discovered bug in FPC 3.0 (already fixed in trunk) when currency and double data types are involved in mathematical operations like addition or multiplication. Is this bug http://bugs.freepascal.org/view.php?id=29760 ? Yes. Is it already fixed in 3.0.1 and 3.1.1? 3.1.1, yes. 3.0.1, I don't think so. IMHO we should release a 3.0.2 ASAP. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Bug in FPC 3.0 discovered
On Fri, 11 Mar 2016 14:12:41 +0100 (CET) Michael Van Canneytwrote: > > > On Fri, 11 Mar 2016, Mattias Gaertner wrote: > > > On Fri, 11 Mar 2016 13:57:02 +0100 > > LacaK wrote: > > > >> [...] > >> There was discovered bug in FPC 3.0 (already fixed in trunk) when > >> currency and double data types are involved in mathematical operations > >> like addition or multiplication. > > > > Is this bug http://bugs.freepascal.org/view.php?id=29760 ? > > Yes. Is it already fixed in 3.0.1 and 3.1.1? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Desktops ?
Hi, Is the current desktops functionality supposed to restore windows that were hidden ? I have 1 desktop defined, "Default". I layouted my windows, closed the object inspector window, and used 'Save current desktop' to save it as default. I quit lazarus and restarted it. It shows a default empty project, and shows the object inspector. I loaded a (non-gui) project. The object inspector is still shown. Is this supposed to be so ? I would expect the object inspector to remain hidden. My plan was to have 2 desktops: one for GUI projects, one for non-GUI projects, where the object inspector is useless and hence can remain hidden... Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Bug in FPC 3.0 discovered
LacaK wrote: Hello, this is notification for users, who plan upgrade to latest Lazarus 1.6 with FPC 3.0 from older versions which came with FPC 2.6.x There was discovered bug in FPC 3.0 (already fixed in trunk) when currency and double data types are involved in mathematical operations like addition or multiplication. Bug can be reproduced using simple example: var c: currency; d: double; begin c:=123.45; d:=100; writeln(c*d); // wrong result 12345 instead of 12345 end. Bug does not affects all platforms . For example Win32, Linux64 are not affected. But Win64 IS affected. This bug can cause unpredictable misbehavior. For example in database applications using fcl-db/sqlDB and NUMERIC or DECIMAL data types as described in bug report #29760 Nota bene (Koenraad, Bo): *Does* affect Raspberry Pi. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Bug in FPC 3.0 discovered
On Fri, 11 Mar 2016, Mattias Gaertner wrote: On Fri, 11 Mar 2016 13:57:02 +0100 LacaKwrote: [...] There was discovered bug in FPC 3.0 (already fixed in trunk) when currency and double data types are involved in mathematical operations like addition or multiplication. Is this bug http://bugs.freepascal.org/view.php?id=29760 ? Yes. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Bug in FPC 3.0 discovered
On Fri, 11 Mar 2016 13:57:02 +0100 LacaKwrote: >[...] > There was discovered bug in FPC 3.0 (already fixed in trunk) when > currency and double data types are involved in mathematical operations > like addition or multiplication. Is this bug http://bugs.freepascal.org/view.php?id=29760 ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Bug in FPC 3.0 discovered
Hello, this is notification for users, who plan upgrade to latest Lazarus 1.6 with FPC 3.0 from older versions which came with FPC 2.6.x There was discovered bug in FPC 3.0 (already fixed in trunk) when currency and double data types are involved in mathematical operations like addition or multiplication. Bug can be reproduced using simple example: var c: currency; d: double; begin c:=123.45; d:=100; writeln(c*d); // wrong result 12345 instead of 12345 end. Bug does not affects all platforms . For example Win32, Linux64 are not affected. But Win64 IS affected. This bug can cause unpredictable misbehavior. For example in database applications using fcl-db/sqlDB and NUMERIC or DECIMAL data types as described in bug report #29760 -Laco. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus