#1 2014-01-24 13:31:16

pult
Member
From: Ukraine, Kyiv
Registered: 2013-11-06
Posts: 18

Win64: SynZipFiles.pas: Fatal: F1026 File not found: 'Libc.dcu'

1) SynZipFiles.pas cannot compile for Win64:
   Fatal: F1026 File not found: 'Libc.dcu'

2) SynZipFiles.pas warnings:
     SynZipFiles.pas(613) Warning: W1035 Return value of function 'TZipReader.GetData' might be undefined
     SynZipFiles.pas(869) Warning: W1057 Implicit string cast from 'RawUTF8' to 'string'

3) SynCommons.pas hint for compiler option "accertion off" {$C-} for code "function VariantSave":
     Hint: H2077 Value assigned to 'P' never used
     Please modify code to:

function VariantSave(const Value: variant): RawByteString;
{$ifopt C+}
var P: PAnsiChar;
{$endif}
begin
  SetString(result,nil,VariantSaveLength(Value));
  {$ifopt C+}P := {$endif}VariantSave(Value,pointer(result));
  {$ifopt C+}
  assert(P-pointer(result)=length(result));
  {$endif}
end;

Offline

#2 2014-01-24 15:11:03

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

Re: Win64: SynZipFiles.pas: Fatal: F1026 File not found: 'Libc.dcu'

We have just fixed the unit.
See http://synopse.info/fossil/info/d7745085d8

Thanks for the feedback!

Offline

Board footer

Powered by FluxBB