QuickLib
QuickLib copied to clipboard
Quick.Arrays.Helper.pas(99,3) Error: Identifier not found "TArrayUtil"
Hi,
I am trying to compile the ArrayHelpers sample for FPC but I get this error: Quick.Arrays.Helper.pas(99,3) Error: Identifier not found "TArrayUtil"
I found that in Quick.Arrays.Helper unit, TArrayUtil is enabled only for FPC:
class procedure TArrayHelper<T>.Remove(var aArray : TArray<T>; aIndex : Integer);
begin
{$IFDEF DELPHIXE7_UP}
System.Delete(aArray,aIndex,1);
{$ELSE}
TArrayUtil<T>.Delete(aArray,aIndex);
{$ENDIF}
end;
This class is defined in the Quick.Commons unit, which is not being used by Quick.Arrays.Helper. Also in Quick.Commons I found that TArrayUtil is not enabled for FPC or Delphi
{$IFNDEF FPC}
{$IFNDEF DELPHIXE7_UP}
TArrayUtil<T> = class
class procedure Delete(var aArray : TArray<T>; aIndex : Integer);
end;
{$ENDIF}
...
{$ENDIF}