[fpc-devel] Compilation error in fgl.pp

Vincent Snijders vincent.snijders at gmail.com
Tue Jan 4 14:53:41 CET 2011


2011/1/4 Juha Manninen <juha.manninen62 at gmail.com>:
> I have a rather old version of FPC 2.5.1.
> I tried to update it but got this:
>
> ---
> /home/juha/lib/fpc/2.5.1/ppcx64 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -
> Fi../unix -Fix86_64 -FE. -FU/home/juha/SW/freepascal/fpc/rtl/units/x86_64-
> linux -Cg -dx86_64 -dRELEASE ../objpas/fgl.pp
> fgl.pp(128,38) Error: Generics without specialization cannot be used as a type
> for a variable
> fgl.pp(163,44) Error: Generics without specialization cannot be used as a type
> for a variable
> fgl.pp(198,54) Error: Generics without specialization cannot be used as a type
> for a variable
> fgl.pp(346,1) Fatal: There were 3 errors compiling module, stopping
> Fatal: Compilation aborted
> Should I install FPC 2.4.2 first and try again?

Yes.

Vincent



More information about the fpc-devel mailing list