<p>Am 02.05.2012 12:44 schrieb "kyan" <<a href="mailto:alfasud.ti@gmail.com">alfasud.ti@gmail.com</a>>:<br>
><br>
> Hello all,<br>
><br>
> I am trying to compile a program that contains the following code consturct:<br>
><br>
> type<br>
> THashEntry<T> = record<br>
> Key: string;<br>
> Value: T;<br>
> class function Create(const AKey: string; const AValue: T):<br>
> THashEntry<T>; static; inline;<br>
> end;<br>
><br>
> in Lazarus with FPC version 2.7.1 built from the trunk svn repos<br>
> (<a href="http://svn.freepascal.org/svn/fpc/trunk/">http://svn.freepascal.org/svn/fpc/trunk/</a>). It compiles in Windows but<br>
> fails in (Fedora) Linux with the message: "Fatal: Internal error<br>
> 2010021405". It is easily reproduced if you copy-paste the type<br>
> declaration in a new project with $mode Delphi.<br>
><br>
> This matches the bug #19500 which is marked as resolved by Sven Barth<br>
> but it seems somehow not to have been fixed in Linux; I don't know if<br>
> this is possible. I compared the sources of FPC for both Windows and<br>
> Linux using Beyond Compare and there is no difference. What am I doing<br>
> wrong?</p>
<p>Your code triggers a different bug in the compiler than the mentioned report though the presented error is the same. Please open a new bug report with a example that should compile.</p>
<p>Regards,<br>
Sven</p>