[Lazarus] Error running Lazarus
reinierolislagers at gmail.com
Sat Jun 2 21:01:53 CEST 2012
On 2-6-2012 20:21, Juha Manninen wrote:
> On Sat, Jun 2, 2012 at 7:22 PM, Reinier Olislagers
> <reinierolislagers at gmail.com <mailto:reinierolislagers at gmail.com>> wrote:
> Laz x86 bigide trunk r37483, FPC trunk r21457
> After compilation, when starting Laz I get an error message
> TButtonGlyphs.GlyphChanged: Max(1,0) gives a wrong result 0, should
> be 1.
> Attached log (both laz and fpc built with -g -gl)
> (Had built with fpcup; have deleted all .ppu, .o. .a from both fpc and
> laz directories then retried only building fpc, lazarus and bigide, so
> no useride)
> Is it me or should something be fixed?
> Yes it is you :)
Difficult situation - I'm glad it's not me but sad it's a compiler bug ;)
> No, in fact this is an "impossible" bug. As the error message says, Max
> function gives a wrong result!
BTW, have the same problem with a Windows x64 FPC/Lazarus IDE.
> See :
> #22164: Lazarus Startup Error: Invalid floating point operation.
Thanks for the explanation, that's quite clear.
> I cannot reproduce it. I have a 64-bit system and my FPC trunk is few
> weeks old.
> I can test with the latest FPC trunk, too.
More information about the Lazarus