Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-01

Re: Compilation error in fgl.pp

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders
to Juha Manninen: I have a rather old version of FPC 2.5.1. I tried to update it but got this: ---…

2011/1/4 Juha Manninen :

Show quoted text 16 lines
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

Reply by email

Juha Manninen

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

Reply by email