Re: [fpc-pascal] Delphi RTTI vs Free Pascal RTTI

2017-03-30 Thread African Wild Dog
2017-03-25 5:40 GMT-03:00 Sven Barth via fpc-pascal < fpc-pascal@lists.freepascal.org>: > Am 24.03.2017 19:55 schrieb "Michael Van Canneyt" >: > > > > > > > > On Fri, 24 Mar 2017, African Wild Dog wrote: > > > >> Hello, > >> > >> I need to write a code compatilble with

Re: [fpc-pascal] Delphi RTTI vs Free Pascal RTTI

2017-03-25 Thread Sven Barth via fpc-pascal
Am 24.03.2017 19:55 schrieb "Michael Van Canneyt" : > > > > On Fri, 24 Mar 2017, African Wild Dog wrote: > >> Hello, >> >> I need to write a code compatilble with both free pascal and delphi using >> the old style RTTI. >> What are the diferences between delphi's and free

Re: [fpc-pascal] Delphi RTTI vs Free Pascal RTTI

2017-03-24 Thread Karoly Balogh (Charlie/SGR)
Hi, On Fri, 24 Mar 2017, Graeme Geldenhuys wrote: > On 2017-03-24 18:55, Michael Van Canneyt wrote: > > They are. There is one dereference on Delphi which is not present in fpc, > > although in fpc trunk > > Another minor difference is data types. From what I remember (and as can > be seen in

Re: [fpc-pascal] Delphi RTTI vs Free Pascal RTTI

2017-03-24 Thread Graeme Geldenhuys
On 2017-03-24 18:55, Michael Van Canneyt wrote: > They are. There is one dereference on Delphi which is not present in fpc, > although in fpc trunk Another minor difference is data types. From what I remember (and as can be seen in tiOPF's code. eg: tiRTTI.pas) FPC has a few more data types than

Re: [fpc-pascal] Delphi RTTI vs Free Pascal RTTI

2017-03-24 Thread Michael Van Canneyt
On Fri, 24 Mar 2017, African Wild Dog wrote: Hello, I need to write a code compatilble with both free pascal and delphi using the old style RTTI. What are the diferences between delphi's and free pascal's approach/types? I took a look at delphi's and fpc's TypInfo unit and it looks like the

[fpc-pascal] Delphi RTTI vs Free Pascal RTTI

2017-03-24 Thread African Wild Dog
Hello, I need to write a code compatilble with both free pascal and delphi using the old style RTTI. What are the diferences between delphi's and free pascal's approach/types? I took a look at delphi's and fpc's TypInfo unit and it looks like the types/functions are compatible. Regards