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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus