On Mon, 04 Sep 2006 11:56:06 +0200 Vincent Snijders <[EMAIL PROTECTED]> wrote:
> Daniël Mantione schreef: > > > > 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. > > Really a lot? Can you give examples where numbers > maxint are > streamed? I agree with Luiz, that there is a lot more code using tag as storage for a pointer, than code streaming big numbers. So for compatibility it should be PtrInt. Mattias _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel