You are not logged in.
Hello,
Tried updating my Mormot version to a later release (June '18),
and due to the changes in TZipRead.RetrieveFileInfo (file SynZip.pas),
get a compiler error there with D2009.
This is probably due to an internal problem of NativeInt with D2009,
and indeed the error disappears when
changing the declaration
Var
PDataStart: ZipPtrUint;
to:
Var
PDataStart: NativeInt;
but as a result of that change, get an other error
'incompatible types ' in file Mormot.pas:
function TIPBan.Add(const aIP: RawUTF8): boolean;
var ip4: cardinal;
begin
result := false;
if (self=nil) or not IPToCardinal(aIP,ip4) then
exit;
fSafe.Lock; // ERROR here at compilation: gives' incompatible types'
Would be very grateful for any hints/pointers on how to deal with this issue..
Regards,
Sami
Offline