On 2-6-2012 20:21, Juha Manninen wrote:
> On Sat, Jun 2, 2012 at 7:22 PM, Reinier Olislagers
> <reinierolislag...@gmail.com <mailto:reinierolislag...@gmail.com>> wrote:
> 
>     Windows
>     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 :)
Hah!
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!
Nasty bug.
BTW, have the same problem with a Windows x64 FPC/Lazarus IDE.

> See :
> 
> #22164: Lazarus Startup Error: Invalid floating point operation.
>  http://bugs.freepascal.org/view.php?id=22164
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.
> 
> 
> Juha
Thanks,
Reinier

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to