Am 04.08.2016 03:17 schrieb "silvioprog" <silviop...@gmail.com>:
> I got:
>
> 'Error: Identifier not found "TArray"'
>
> So I've fixed it with:
>
> === begin code ===
>
> ...
>
> {$IFDEF FPC}
>     TArrayHelper<string>.Sort(ordkeys);
> {$ELSE}
>     TArray.Sort<string>(ordkeys);
> {$ENDIF}
>
> ...
>
> === end code ===
>
> So, is this the best way to solve this problem?

For now, yes. Maciej still needs to adjust the code to make use of the
features added in trunk.

>
> P.S.: You should remove the {$H+} from the generics.* units, the mode
Delphi already enables the long strings.

It might be redundant, but it doesn't hurt either.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to