[fpc-devel] Propose: change TComponent.Tag from longint to PtrInt

Daniël Mantione daniel.mantione at freepascal.org
Mon Sep 4 11:52:39 CEST 2006

Op Mon, 4 Sep 2006, schreef Mattias Gaertner:

> Me2.
> Just one disadvantage:
> The Tag is published.
> If someone stores a 64bit value and the component is stored,
> the stream can not be read under 32bit anymore.

...which makes it impossible to use streams for anything derived from 
Tcomponent, which is really a lot. I don't think we should break this 
feature to allow broken code to work.


More information about the fpc-devel mailing list