nc-gaertnma at netcologne.de
Sat Aug 14 20:46:30 CEST 2004
I found a bug in the RTTI under powerpc.
Boolean properties stored in fields
(e.g. properrty MyBoolean: boolean read FMyBoolean)
always returns false.
The GetOrdProp is used to read boolean values. It reads a longint and
applies "and $ff" to get only the lowest byte. Under PowerPC the boolean
value is stored just like under i386 in the first byte. Reading the longint
under i386 works, but of course it does not under powerpc.
So, either the compiler is wrong or the GetOrdValue function is wrong.
Which one should I report?
It's one of the last show stoppers for Lazarus under Mac OS X.
More information about the fpc-devel