Recent

Author Topic: [SOLVED] Cannot compile Virtual TreeView 4.8.7 using FPC 2.6.1  (Read 4567 times)

JD

  • Hero Member
  • *****
  • Posts: 1848
Hi there everyone,

After upgrading from Lazarus 1.1 svn 37469/FPC 2.6.0 Win32 to Lazarus 1.1 svn 37865/FPC 2.6.1 Win32, I can no longer compile and install Virtual TreeView 4.8.7

The compiler errors are as shown below:

C:\Lazarus\components_extra\virtualtreeview\virtualtreeview 4.8.7 LCL R1\VirtualTrees.pas(1018,20) Error: No matching implementation for interface method "IDropSource.QueryContinueDrag(LongBool,LongWord):LongInt; StdCall;" found
C:\Lazarus\components_extra\virtualtreeview\virtualtreeview 4.8.7 LCL R1\VirtualTrees.pas(1018,20) Error: No matching implementation for interface method "IDropSource.GiveFeedback(LongWord):LongInt; StdCall;" found
C:\Lazarus\components_extra\virtualtreeview\virtualtreeview 4.8.7 LCL R1\VirtualTrees.pas(1214,14) Warning: An inherited method is hidden by "TVirtualTreeColumn.Equals(TObject):Boolean;"
C:\Lazarus\components_extra\virtualtreeview\virtualtreeview 4.8.7 LCL R1\VirtualTrees.pas(1311,14) Warning: An inherited method is hidden by "TVirtualTreeColumns.Equals(TObject):Boolean;"
C:\Lazarus\components_extra\virtualtreeview\virtualtreeview 4.8.7 LCL R1\VirtualTrees.pas(2458,15) Warning: An inherited method is hidden by "TBaseVirtualTree.SetVisible(PVirtualNode,Boolean);"
C:\Lazarus\components_extra\virtualtreeview\virtualtreeview 4.8.7 LCL R1\VirtualTrees.pas(2674,15) Warning: An inherited method is hidden by "TBaseVirtualTree.FontChanged(TObject);"
C:\Lazarus\components_extra\virtualtreeview\virtualtreeview 4.8.7 LCL R1\VirtualTrees.pas(3867,1) Fatal: There were 2 errors compiling module, stopping


Does anyone know if this has been solved in the SVN version?

Thanks,

JD
« Last Edit: July 17, 2012, 11:48:41 pm by JD »
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

IPguy

  • Sr. Member
  • ****
  • Posts: 385
Re: Cannot compile Virtual TreeView 4.8.7 using FPC 2.6.1
« Reply #1 on: July 05, 2012, 03:21:11 pm »
JD,
see: http://bugs.freepascal.org/view.php?id=22307
I included two patches.

IPguy

  • Sr. Member
  • ****
  • Posts: 385
Re: Cannot compile Virtual TreeView 4.8.7 using FPC 2.6.1
« Reply #2 on: July 05, 2012, 03:23:31 pm »
also, see this forum thread:
http://www.lazarus.freepascal.org/index.php/topic,17389.msg95823.html#msg95823

(Thanks again to tomek for supplying the answer.)

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Cannot compile Virtual TreeView 4.8.7 using FPC 2.6.1
« Reply #3 on: July 17, 2012, 11:49:29 pm »
also, see this forum thread:
http://www.lazarus.freepascal.org/index.php/topic,17389.msg95823.html#msg95823

(Thanks again to tomek for supplying the answer.)

It's OK now. Thanks a lot.
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

 

TinyPortal © 2005-2018