#1 2018-12-28 17:34:32

keinn
Member
Registered: 2014-10-20
Posts: 103

All demos compiled failed with delphi 10.3 Rio

i pull the latest source from git, still cannot compile anything with 10.3(Rio). 
ide stopped at line 18794 in SynCommon.pas

error message:

[dcc32 Error] SynCommons.pas(18794): E2015 Operator not applicable to this operand type

ide stopped at

procedure TSynTempBuffer.Init(Source: pointer; SourceLen: integer);
begin
  len := SourceLen;
  if len<=0 then
    buf := nil else begin
    if len<=SizeOf(tmp)-16 then
      buf := @tmp else
      GetMem(buf,len+16); // +16 for trailing #0 and for PInteger() parsing
    MoveFast(Source^,buf^,len);
    PPtrInt(buf+len)^ := 0; // always init last 4/8 bytes (makes valgrid happy)  <<----------stopped here 
  end;
end;

all 36 demo projects failed

Offline

#2 2018-12-29 13:23:21

snakegao
Member
Registered: 2017-06-22
Posts: 21

Re: All demos compiled failed with delphi 10.3 Rio

the latest version is ok! thx ab.

https://synopse.info/fossil/info/0e40f5ef4676cab5

Last edited by snakegao (2018-12-29 13:35:01)

Offline

Board footer

Powered by FluxBB