[fpc-devel] Compilation error in fgl.pp

Juha Manninen juha.manninen62 at gmail.com
Tue Jan 4 16:50:48 CET 2011


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
---

Fedora 14 Linux 64-bit.
Should I install FPC 2.4.2 first and try again?

Juha



More information about the fpc-devel mailing list