> On Oct 19, 2017, at 12:58 PM, Sven Barth via fpc-pascal
> wrote:
>
> And your case for tkSString crashes, because that is a ShortString, not a
> AnsiString thus you need to cast to PShortString (best avoid "(P)String" in
> this context as this could lead to different results depending on t
Am 19.10.2017 07:45 schrieb "Ryan Joseph" :
>
> How should you print types in generics for debugging? here’s an example
of how I’m doing it now but it’s hacky (forced type casting pointers) and
tkSString crashes like it is. There should be a better solution I think.
There isn't really a better sol
How should you print types in generics for debugging? here’s an example of how
I’m doing it now but it’s hacky (forced type casting pointers) and tkSString
crashes like it is. There should be a better solution I think.
procedure TStaticArray.PrintValue (value: T);
begin
case typeKind of
Hello,
I wonder if anybody has a compiled binary that she or he could share? I need to
run
FPC natively on an IBM ppc64 LE Linux platform.
Cheers,
Tobias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/