Hello,
I developped a simple and small project on Lazarus with Indy Project FTP component (Indy's snapshot 10.5189)
NO PROBLEM TO COMPILE on WinCE Arm
But same project on CT, there is errors :
compilation du paquet pl_indy 10.6.1.1: Code 'Exit'=1, Erreurs: 3, Avertissement: 3, astuce 26
IdGlobal.pas(4840,15) Warning: lo/hi(dword/qword) returns the upper/lower word/dword
IdGlobal.pas(4852,41) Hint: Local variable "LErr" does not seem to be initialized
IdGlobal.pas(4960,33) Hint: Local variable "LErr" does not seem to be initialized
IdGlobal.pas(5116,49) Hint: Local variable "LErr" does not seem to be initialized
IdGlobal.pas(5300,59) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
IdGlobal.pas(1077,93) Hint: Parameter "APolicy" not used
IdGlobal.pas(1078,31) Hint: Parameter "AName" not used
IdGlobal.pas(1078,106) Hint: Parameter "AThreadID" not used
IdGlobal.pas(6473,4) Hint: "formal parameter" not yet supported inside inline procedure/function
IdGlobal.pas(6473,4) Hint: Inlining disabled
IdGlobal.pas(6554,4) Hint: "formal parameter" not yet supported inside inline procedure/function
IdGlobal.pas(6554,4) Hint: Inlining disabled
IdGlobal.pas(6563,29) Hint: Function result variable does not seem to be initialized
IdGlobal.pas(6792,4) Hint: "formal parameter" not yet supported inside inline procedure/function
IdGlobal.pas(6792,4) Hint: Inlining disabled
IdGlobal.pas(6815,53) Hint: Local variable "LBytes" does not seem to be initialized
IdGlobal.pas(6849,43) Hint: Function result variable does not seem to be initialized
IdGlobal.pas(6864,37) Hint: Local variable "Lb" does not seem to be initialized
IdGlobal.pas(678,25) Hint: Parameter "VBuffer" not used
IdGlobal.pas(678,44) Hint: Parameter "AOffset" not used
IdGlobal.pas(678,53) Hint: Parameter "ACount" not used
IdGlobal.pas(7155,35) Hint: Conversion between ordinals and pointers is not portable
IdGlobal.pas(7155,27) Warning: Conversion between ordinals and pointers is not portable
IdGlobal.pas(7155,35) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
IdGlobal.pas(7314,11) Error: Incompatible types: got "PWideChar" expected "PChar"
IdGlobal.pas(7316,79) Error: Incompatible type for arg no. 5: Got "PChar", expected "PWideChar"
IdGlobal.pas(7355,79) Error: Incompatible type for arg no. 5: Got "PChar", expected "PWideChar"
IdGlobal.pas(7567,43) Hint: Function result variable does not seem to be initialized
IdGlobal.pas(7601,26) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
IdGlobal.pas(7609,28) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
IdGlobal.pas(7874,4) Hint: "formal parameter" not yet supported inside inline procedure/function
IdGlobal.pas(7874,4) Hint: Inlining disabled
Link my full project
Do you have a fix to resolve this issue ?
Thank you