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

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.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to