[fpc-devel] RTTI

Michael Van Canneyt michael at freepascal.org
Thu Sep 10 16:44:19 CEST 2015



On Thu, 10 Sep 2015, Steve Hildebrandt wrote:

>
>
> Am 10.09.2015 um 12:10 schrieb Alfred:
>> 1:
>> I need to know before compiling the source if interface RTTI is available.
>> I would like to use a switch in the source:
>> {$ifdef HASNEWINTERFACERTTI}
>> ....
>> {$endif}
> Will see what I can do in that direction.

Usually, this is done with FPC_HAS_XXXYYY. If you look in the RTL, you will see lots of such ifdefs.

So FPC_HAS_EXTENDEDINTERFACERTTI seems appropriate.

Michael.



More information about the fpc-devel mailing list