Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IdFTP.Quit deprecated?
#1
When I build my project in Lazarus 1.8.4 (FPC 3.0.4) I always get warnings from IdFTP.Quit calls being deprecated.


Code:
Compile Project, Target: bin/AGILicMgr: Success, Warnings: 2
AGILicMgr.dpr(262,20) Warning: Symbol "Quit" is deprecated
AGILicMgr.dpr(269,15) Warning: Symbol "Quit" is deprecated

This is the first warning location:

Code:
    if IdFTPtfr.Connected then
    begin
      IdFTPtfr.Quit; // <== Warning here
    end;

But I have looked at the on-line documentation where there is no sign of any deprecation...

What gives? Is the IndyLaz package installed via OnLinePackageManager somehow broken?

The further effect of this problem is that there are no tool-tips for the IdFTP component, when I press period after the IdFTP variable Lazarus just displays this in the message box:



Code:
Codetools, Errors: 1
IdGlobal.pas(1889,105) Error: expected ;, but deprecated found

And no popup in the editor suggests any valid command.
Reply


Messages In This Thread
IdFTP.Quit deprecated? - by BosseB - 10-25-2018, 11:03 AM
RE: IdFTP.Quit deprecated? - by rlebeau - 10-25-2018, 06:58 PM
RE: IdFTP.Quit deprecated? - by BosseB - 10-25-2018, 09:22 PM
RE: IdFTP.Quit deprecated? - by rlebeau - 10-25-2018, 10:08 PM
RE: IdFTP.Quit deprecated? - by BosseB - 10-26-2018, 09:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)