I didn't mention that I'm using fcp 2.5.1 svn to compile. Not sure if that makes a difference.<br><br><div class="gmail_quote">On Sat, Feb 5, 2011 at 11:12 AM, John Stoneham <span dir="ltr"><<a href="mailto:captnjameskirk@gmail.com">captnjameskirk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><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><font color="#888888">John<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>John<br>