Re: [fpc-devel] TTypeKind, strings and chars

2013-06-16 Thread Maciej Izak
I also don't know why we have it. Compiler does not use it. Reported as http://bugs.freepascal.org/view.php?id=24609 Regards, HNB ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] TTypeKind, strings and chars

2013-06-02 Thread Graeme Geldenhuys
On 2013-06-02 02:44, waldo kitty wrote: so maybe svn blame will tell when it was put in and by whom? commit 7aa20ac1cc61578db56a9de741f306f07a35460c Author: Florian Klaempfl flor...@freepascal.org Date: Sat Apr 16 14:01:44 2011 + * Merged helper branch made by Sven Barth --

Re: [fpc-devel] TTypeKind, strings and chars

2013-06-02 Thread Sven Barth
On 02.06.2013 07:49, Graeme Geldenhuys wrote: On 2013-06-02 02:44, waldo kitty wrote: so maybe svn blame will tell when it was put in and by whom? commit 7aa20ac1cc61578db56a9de741f306f07a35460c Author: Florian Klaempfl flor...@freepascal.org Date: Sat Apr 16 14:01:44 2011 + *

Re: [fpc-devel] TTypeKind, strings and chars

2013-06-02 Thread Maciej Izak
I see no point in tkUChar ... It looks like a mistake. Regards, HNB ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] TTypeKind, strings and chars

2013-06-01 Thread Maciej Izak
Thanks for response. Compiler uses internally some LongStrings which is not possible to use for variable declarations. I don't know whether this type is needed in RTTI. And yes, Delphi uses tkLString instead of tkAString for ansistrings. Clear. I also don't know why we have it. Compiler

Re: [fpc-devel] TTypeKind, strings and chars

2013-06-01 Thread waldo kitty
On 6/1/2013 18:44, Maciej Izak wrote: Thanks for response. Compiler uses internally some LongStrings which is not possible to use for variable declarations. I don't know whether this type is needed in RTTI. And yes, Delphi uses tkLString instead of tkAString for ansistrings. Clear.

[fpc-devel] TTypeKind, strings and chars

2013-05-31 Thread Maciej Izak
Hi, I'm creating another more advanced (and 99% compatible with Delphi) version of the library Generics.Collections (without GetValueSize and GetReferenceToValue specially for Sven :P) and I have some dilemmas about TTypeKind. What happened to tkLString? All strings with code page, UTF8String,

Re: [fpc-devel] TTypeKind, strings and chars

2013-05-31 Thread Paul Ishenin
01.06.13, 6:48, Maciej Izak пишет: Hi, I'm creating another more advanced (and 99% compatible with Delphi) version of the library Generics.Collections (without GetValueSize and GetReferenceToValue specially for Sven :P) and I have some dilemmas about TTypeKind. What happened to tkLString? All