[fpc-pascal] generic/enumerator: Internal error 200301231
Sven Barth
pascaldragon at googlemail.com
Wed Nov 13 13:11:37 CET 2013
Am 13.11.2013 12:08, schrieb Victor Matuzenko:
> Hi,
>
> I have internal error when I compile the unit (see source below):
>
> [doj at korica ~/proj/trunk/core/collection]$ fpc dlist.pas4
> dlist.pas4(36,1) Fatal: Internal error 200301231
> Fatal: Compilation aborted
> Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you
> did not specify a source file to be compiled)
>
> fpc version and system:
>
> [doj at korica ~/proj/trunk/core/collection]$ fpc -h | head -2
> Free Pascal Compiler version 2.6.1 [2012/11/08] for i386
> Copyright (c) 1993-2012 by Florian Klaempfl and others
> [doj at korica ~/proj/trunk/core/collection]$ uname -a
> FreeBSD korica 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:47:23
> UTC 2012 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>
> If I comment out all enumerator code it compiles success.
> How should I rewrite this code to make it works?
You can't. The 2.6 series is simply not capable of compiling such code
correctly. Only the 2.7 series works here.
Regards,
Sven
More information about the fpc-pascal
mailing list