[fpc-devel]PowerPC, TypInfo

2004-08-14 Thread Mattias Gaertner
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

Re: [fpc-devel]PowerPC, TypInfo

2004-08-14 Thread Mattias Gaertner
On Sat, 14 Aug 2004 20:46:30 +0200 Mattias Gaertner [EMAIL PROTECTED] wrote: 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

Re: [fpc-devel]PowerPC, TypInfo

2004-08-14 Thread Jonas Maebe
On 14 aug 2004, at 21:07, Mattias Gaertner wrote: 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