[fpc-devel] RTTI unit

Daniël Mantione daniel.mantione at freepascal.org
Sun Aug 29 17:40:22 CEST 2010



Op Sun, 29 Aug 2010, schreef Paul Ishenin:

> 29.08.2010 21:39, Dimitri Smits wrote:
>>> At the present state of fpc compiler it is technically imposible to
>>> port
>>> delphi rtti unit. To do this you need first to implement the next
>>> compiler features:
>>> 
>>> 1. Extended records (methods, class operators)
>>> 2. Generics as in delphi
>>> 3. Attributes
>> 4. scopeable RTTI ($RTTI directive)
>
> I mean that for implementing RTTI unit compatible by interface with delphi 
> you need that 3 features I wrote about. Or how you will port for example 
> TValue record:

You can come a long way by using FPC alternatives: Use objects, and 
overload the := operator.

Daniël


More information about the fpc-devel mailing list