cpstrnew branch (was Re: [fpc-devel] Freepascal 2.4.0rc1 released)
jonas.maebe at elis.ugent.be
Wed Nov 11 10:45:11 CET 2009
On 11 Nov 2009, at 10:07, Graeme Geldenhuys wrote:
> Sergei Gorelkin wrote:
>> It won't. 4 bytes will be used anyway because of alignment.
>> On x86_64, it is even 8 bytes.
> Does that mean in the cpstrnew branch and on x86_64 systems, the UTF-8
> string 'a' will be 9 bytes long?
No, 25 bytes. The plain ansistring 'a' is already 17 bytes on x86_64
More information about the fpc-devel