You are not logged in.
Pages: 1
Now Most of demos can not compile.
Error code at unit SynEcc.pas:
function TECDHEProtocol.Clone: IProtocol;
begin
result := CreateFrom(self);
end;
Offline
I confirm this bug.
[dcc32 Error] SynEcc.pas(3251): E2382 Cannot call constructors using instance variables
Offline
you are not alone, see Ticket http://synopse.info/fossil/info/d7dd444 … 21388bbd54
Offline
I don't have compiler at hand right now, but try if following change helps to get sources compiled:
function TECDHEProtocol.Clone: IProtocol;
begin
result := TECDHEProtocol.CreateFrom(self);
end;
Offline
not only one bug, demo Project31SimpleEchoServer raise exception:
Debugger Exception Notification
---------------------------
Project Project31SimpleEchoServer.exe raised exception class ECrtSocket with message 'SockRecvLn 10060 WSAETIMEDOUT'.
Offline
Please check http://synopse.info/fossil/info/addc9aa89e
It worked well on older versions of the protocol!
In fact, TECDHEProtocol.CreateFrom is not enough.
Offline
In fact, TECDHEProtocol.CreateFrom is not enough.
Yeah, I know, but at least it fixed the compilation issue
Offline
ok now!
Last edited by daisutao (2016-10-12 00:33:46)
Offline
Pages: 1