[fpc-devel] Component FTag and Tag should be int64

Luiz Americo Pereira Camara luizmed at oi.com.br
Wed Nov 24 02:58:43 CET 2010


Michael Van Canneyt escreveu:
>
>
> On Tue, 23 Nov 2010, Luiz Americo Pereira Camara wrote:
>
>> michael.vancanneyt at wisa.be escreveu:
>>>
>>>
>>> On Tue, 23 Nov 2010, Hans-Peter Diettrich wrote:
>>>
>>>> Andrew Brunner schrieb:
>>>>
>>>>> That would not be an issue as Int64 is available under all flavors 
>>>>> of FPC. I don't see the hold up in adding a patch for Data field. 
>>>>> There is just one unit to change. What makes this so complicated 
>>>>> that it hasn't be accomplished yet???
>>>>
>>>> First we have to agreee about the new type. Int64 could have been 
>>>> choosen already - by Delphi - when this were a reasonable decision.
>>>
>>> As I understand it , Andrew is talking about adding an additional 
>>> field 'Data' of type pointer (or better would be TObject) which 
>>> would exist next to the Tag field.
>>>
>>> For Delphi compatibility reasons, the Tag type will be changed to 
>>> PtrInt.
>>
>> Good.
>>
>> I've been waiting for some time:
>> http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg05886.html
>
> If it had not been for Delphi compatibility, you would have been 
> waiting forever :-)

So it seems that now it's time to add NativeInt type ;-) .

BTW: i'm a fpc only guy and dont care keeping code compilable under 
Delphi but in the other side i do some porting of Delphi code.

Luiz



More information about the fpc-devel mailing list