[fpc-devel] RTTI

Steve Hildebrandt Steve.Kassel at web.de
Thu Sep 10 17:18:15 CEST 2015



Am 10.09.2015 um 16:44 schrieb Michael Van Canneyt:
>
>
> 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.
Added as sugested to compiler/options.pas in InterfaceRTTI branch.

Steve.



More information about the fpc-devel mailing list