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
types/functions are compatible.

They are. There is one dereference on Delphi which is not present in fpc,
although in fpc trunk, this additional dereference is there. If you use the
standard functions you should not notice this.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to