Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Simple project compiled From Lazarus To CT 10 years 1 month ago #6010

  • Cyril
  • Cyril's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Last edit: by Cyril.

Simple project compiled From Lazarus To CT 10 years 1 month ago #6011

  • FredyCC
  • FredyCC's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Database/Developer
  • Posts: 60
  • Thank you received: 10
IdGlobal is part of indy if I remember, I think it has to do with the kinds of version of Indy are using now in CT. I've never tried but could prepare version of Indy you use on Lazarus and replace in CT and thus try to build again CT and your project.

regards

Please Log in or Create an account to join the conversation.

Last edit: by FredyCC.

Simple project compiled From Lazarus To CT 10 years 1 month ago #6012

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
We update pl_Indy to SVN Rev 5189 25-9-2014 and fix WinCE Problems
the new pl_Indy pkg file is here
your fixed application is here

PS: pl_Indy has a lot of MODs in Order to support a lot of CT targets OSes
----------MODs----------------

NOTE: IdStream.pas: spilt to IdStream_int.inc, IdStream_imp.inc
       and add to IdGlobal.pas


IdBuffer.pas ### at line: 401
IdCoder.pas ### at line: 162
IdCoder00E.pas ### at line: 60
IdCoderBinHex4.pas ### at line: 159
IdCoderMIME.pas ### at line: 82
IdCoderTNEF.pas ### at line: 193
IdCookie.pas ### at line: 673
IdCustomHTTPServer.pas ### at line: 576
IdFSP.pas ### at line: 433
IdGlobal.pas ### at line: 729
IdGlobal.pas ### at line: 1236
IdGlobal.pas ### at line: 1238
IdGlobal.pas ### at line: 4330
IdGlobal.pas ### at line: 4339
IdGlobal.pas ### at line: 7514
IdGlobal.pas ### at line: 7552
IdHash.pas ### at line: 139
IdHashSHA.pas ### at line: 121
IdHTTPWebBrokerBridge.pas ### at line: 162
IdIMAP4.pas ### at line: 1115
IdIMAP4.pas ### at line: 1130
IdIMAP4.pas ### at line: 1142
IdIMAP4Server.pas ### at line: 498
IdInterceptSimLog.pas ### at line: 79
IdIOHandler.pas ### at line: 407
IdIOHandlerChain.pas ### at line: 189
IdIOHandlerStream.pas ### at line: 126
IdLPR.pas ### at line: 191
IdMessageClient.pas ### at line: 473
IdMessageCoderYenc.pas ### at line: 122
IdMultipartFormData.pas ### at line: 235
IdStackUnix.pas ### at line: 237
IdStream_int.inc ### at line: 29
IdTrivialFTPServer.pas ### at line: 118
IdVCLPosixSupplemental.pas ### at line: 4032
IdZLib.pas ### at line: 199
IdZLibCompressorBase.pas ### at line: 144

from new codetyphon\typhon\components\pl_Indy\ctinfo.txt file

have fun
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.
  • Page:
  • 1