#1 2015-06-05 11:40:20

reshith
Member
Registered: 2015-06-05
Posts: 1

I cannot compile SynCommon.pas Version 1.18 in D5 (Delphi5)

I am using D5 ent. I want to use TSynLog.
But when I compiled SynCommon.pas in D5, I saw error message such as below:
[Error] SynCommons.pas(27020): Undeclared identifier: 'Equals'

And I found below:

    {$ifndef DELPHI5OROLDER}
    /// compare the content of the two arrays, returning TRUE if both match
    // - this method compares first using any supplied Compare property,
    // then by content using the RTTI element description of the whole record
    // - warning: this method won't compare T*ObjArray kind of arrays
    function Equals(const B: TDynArray): boolean;
    /// set all content of one dynamic array to the current array
    // - both must be of the same exact type
    procedure Copy(const Source: TDynArray);
    /// set all content of one dynamic array to the current array
    // - both must be of the same exact type
    procedure CopyFrom(const Source; MaxElem: integer);
    {$endif}

What do i do to compile SynCommon.pas in D5?

Last edited by reshith (2015-06-05 11:42:27)

Offline

#2 2015-06-05 13:19:40

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: I cannot compile SynCommon.pas Version 1.18 in D5 (Delphi5)

Should be fixed by http://synopse.info/fossil/info/aa66e09767

Thanks for the feedback!

Offline

Board footer

Powered by FluxBB