Page 1 of 1

Problem ZDbcResultSet

Posted: 24.09.2014, 19:24
by tamarozirafael
When I go to install the Delphi Zeos XE6, gives the following error:

[dcc32 Error] ZDbcResultSet.pas(562): E2029 '.' expected but identifier 'AnsiStrComp' found

The ZDbcResultSet.pas have declared the function that gives the error:

function CompareRawByteString(const V1, V2): Integer;
begin
Result := {$IFDEF WITH_ANSISTRCOMP_DEPRECATED}AnsiStrings{$ENDIF}
AnsiStrComp(PAnsiChar(TZVariant(V1).VRawByteString), PAnsiChar(TZVariant(V2).VRawByteString));
end;

Attached image...

Re: Problem ZDbcResultSet

Posted: 24.09.2014, 20:39
by miab3
@tamarozirafael, @EgonHugeist,

Missing dot after {$IFDEF WITH_ANSISTRCOMP_DEPRECATED}AnsiStrings <==

Michal

Re: Problem ZDbcResultSet

Posted: 24.09.2014, 20:49
by EgonHugeist
Thank guys for the note.

Patch done R3330 \testing-7.2 (SVN)
Can you test it?

Re: Problem ZDbcResultSet

Posted: 24.09.2014, 20:55
by miab3
@EgonHugeist,

Now (R3330) Delphi XE7 trial compiles.

Michal

Re: Problem ZDbcResultSet

Posted: 25.09.2014, 13:16
by tamarozirafael
Perfect. solved. Thanks.