[Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

Sven Barth pascaldragon at googlemail.com
Tue Feb 28 16:13:39 CET 2012


Am 28.02.2012 15:40, schrieb Hans-Peter Diettrich:
> Sven Barth schrieb:
>
>> Before Delphi 2009 you might have been right, but with that version
>> Embarcadero did a cut and we now need to adapt and live with that.
>
> I dare to disagree. A "ByteString" only requires a dedicated encoding
> (value), which makes it incompatible with other encodings, and thus
> disables all conversions. Such an encoding doesn't break Delphi
> compatibility, but allows to use all stringhandling functions with it.

And instead of introducing yet another type or another special encoding 
we could just leverage the features FPC has today and use TBytes.

Regards,
Sven





More information about the Lazarus mailing list