<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Once upon a time, on 11/18/2012 01:23
PM to be precise, Ewald said:<br>
</div>
<blockquote cite="mid:50A8D32B.8040504@yellowcouch.org" type="cite">
<pre wrap="">Once upon a time, on 11/18/2012 11:43 AM to be precise, Jonas Maebe said:
</pre>
<blockquote type="cite">
<pre wrap="">On 16 Nov 2012, at 19:42, Ewald wrote:
</pre>
<blockquote type="cite">
<pre wrap="">{$mode ObjFPC}, which is the same as cthreads.pp. Removal of the `@`
doesn't solve the problem. The thing that is weird about this is that
the type I use for `TThreadID` is not self defined, it comes from one of
the units used; which somehow is different from some other type that the
TThreadManager record uses. Is there a way to figure out from where fpc
gets a certain symbol via command line switch or something?
</pre>
</blockquote>
<pre wrap="">No. The easiest way to figure this one out is to open the source code in Lazarus, and use its "Find declaration" functionality (by default: position the cursor over an identifier and press alt/option-up).
</pre>
</blockquote>
<pre wrap="">Alright, I'll see what I can find, and I'll post it here when I've fixed it.
</pre>
</blockquote>
Right, I fixed this issue by adding a very simple type declaration
at the top of the unit:<br>
<br>
<blockquote><tt>Type</tt><tt><br>
</tt></blockquote>
<blockquote><tt> TThreadID = System.TThreadID;</tt><br>
</blockquote>
<br>
That I didn't think of this before...<br>
<br>
<pre class="moz-signature" cols="72">--
Ewald
</pre>
</body>
</html>