You are not logged in.
Pages: 1
Hello,
In today's refactoring, compiling SynCommons with D2007 stops with this error:
[DCC Error] SynCommons.pas(24041): E2251 Ambiguous overloaded call to 'Trim'
The offending line is:
function TrimU(const S: RawUTF8): RawUTF8;
begin
result := Trim(s); <------
end;
Offline
I don't know if this is right or not, but removing the SynUnicode Trim version and the overload qualifier, it compiles fine
function Trim(const S: SynUnicode): string;
Offline
Offline
Pages: 1