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? TIA Constantine. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal