<div>There is an error building bigide from svn, and I've notice it for all revisions past 29368. Here's the error:</div><div><br></div><div><div> tagraph.pas(412,17) Error: Call by var for arg no. 2 has to match exactly: Got "TChart" expected "TComponent"</div>
<div> lresources.pp(914,11) Hint: Found declaration: ReadComponentFromBinaryStream(TStream,</div><div> var TComponent,TFindComponentClassEvent,TComponent="nil",TComponent="nil",TComponent="nil");</div>
<div> tagraph.pas(1371) Fatal: There were 1 errors compiling module, stopping</div><div> Fatal: Compilation aborted</div></div><div><br></div><div>That line in tagraph.pas is:</div><div> ReadComponentFromBinaryStream(</div>
<div> ms, Result, @FindComponentClass, Owner, Parent, Owner);</div><div><br></div><div>Casting TComponent fixes the compile error:</div><div><div> ReadComponentFromBinaryStream(</div><div> ms, TComponent(Result), @FindComponentClass, Owner, Parent, Owner);</div>
</div><div><br></div><div>I'm not sure if this fix causes any side effects (I haven't run into any yet), but at least it compiles now.</div><br>-- <br>John<br>