[Lazarus] error building bigide from svn
John Stoneham
captnjameskirk at gmail.com
Sat Feb 5 18:13:20 CET 2011
I didn't mention that I'm using fcp 2.5.1 svn to compile. Not sure if that
makes a difference.
On Sat, Feb 5, 2011 at 11:12 AM, John Stoneham <captnjameskirk at gmail.com>wrote:
> There is an error building bigide from svn, and I've notice it for all
> revisions past 29368. Here's the error:
>
> tagraph.pas(412,17) Error: Call by var for arg no. 2 has to match
> exactly: Got "TChart" expected "TComponent"
> lresources.pp(914,11) Hint: Found declaration:
> ReadComponentFromBinaryStream(TStream,
>
> var TComponent,TFindComponentClassEvent,TComponent="nil",TComponent="nil",TComponent="nil");
> tagraph.pas(1371) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
>
> That line in tagraph.pas is:
> ReadComponentFromBinaryStream(
> ms, Result, @FindComponentClass, Owner, Parent, Owner);
>
> Casting TComponent fixes the compile error:
> ReadComponentFromBinaryStream(
> ms, TComponent(Result), @FindComponentClass, Owner, Parent, Owner);
>
> I'm not sure if this fix causes any side effects (I haven't run into any
> yet), but at least it compiles now.
>
> --
> John
>
--
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110205/ca7f7f31/attachment-0003.html>
More information about the Lazarus
mailing list