#1 mORMot 1 » can't compile synlog.pas » 2020-06-25 14:33:52

newsanti
Replies: 1

[dcc32 Error] SynLog.pas(5113): E2010 Incompatible types: 'PUTF8Char' and 'PAnsiChar'

begin
  // 1. calculate fLines[] + fCount and fLevels[] + fLogProcNatural[] from .log content
  fLineHeaderCountToIgnore := 3; fIsJournald := false;
  if IdemPChar(fMap.Buffer,'-- LOGS BEGIN AT') then begin
    //-- Logs begin at Sun 2020-06-07 12:42:31 EEST, end at Thu 2020-06-18 18:08:52 EEST. --
    fIsJournald := true;
    fHeaderLinesCount := 1;
    fLineHeaderCountToIgnore := 1;
  end else begin
    //2020-06-18T13:28:20.754089+0300 ub[12316]:
    Iso8601ToDateTimePUTF8CharVar(fMap.Buffer,26,fStartDateTime);
    if fStartDateTime > 0 then begin
      fIsJournald := true;
      fHeaderLinesCount := 0;
      fLineHeaderCountToIgnore := 0;
    end;
  end;

#2 Re: mORMot 1 » How to Fix TestSQL3 Error? » 2020-06-24 15:30:51

windows 10
code page 874
(thai)
How to change code page from 1252 to 874 in mORMot?

#3 mORMot 1 » How to Fix TestSQL3 Error? » 2020-06-24 14:16:13

newsanti
Replies: 3

UTF8: 14,000 / 1,099,793 FAILED  615.17ms

Board footer

Powered by FluxBB