#1 2012-08-08 07:35:14

corchi72
Member
Registered: 2010-12-10
Posts: 232

Error to compile last version " [967322735e] Leaf"

Hi, this morning I downloaded the latest version "[967322735e] Leaf" and while compiling the code I get the following error:

[DCC Hint] cxCalc.pas(494): H2443 Inline function 'Point' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Error] SQLite3Commons.pas(11895): E2010 Incompatible types: 'PUTF8Char' and 'PAnsiChar'
[DCC Fatal Error] SQLite3.pas(454): F2063 Could not compile used unit 'SQLite3Commons.pas'

 tkLString{$ifdef FPC},tkAString{$endif}: begin
    GetLongStrProp(Instance,pointer(@self),tmp);
    if CaseInsensitive then
      if PropType^=TypeInfo(RawUTF8) then
        result := crc32(0,Up,UTF8UpperCopy255(Up,tmp)-Up) else
        if PropType^=TypeInfo(TSQLRawBlob) then // binary is case sensitive
          result := crc32(0,pointer(tmp),length(tmp)) else
          result := crc32(0,Up,UpperCopy255(Up,tmp)-Up) else
      result := crc32(0,pointer(tmp),length(tmp));
    exit;
  end;

thanks corchi

Offline

#2 2012-08-08 08:13:10

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

Re: Error to compile last version " [967322735e] Leaf"

Should be fixed with http://synopse.info/fossil/info/6e75e7ff96

But I do not have Unicode Delphi versions at hand, so I can't tell.

Offline

#3 2012-08-08 08:29:11

corchi72
Member
Registered: 2010-12-10
Posts: 232

Re: Error to compile last version " [967322735e] Leaf"

perfect now the code is compiled. thank you!

Offline

Board footer

Powered by FluxBB