Re: [fpc-pascal] "Double" specialization of generic class

2014-04-15 Thread Xiangrong Fang
2014-04-15 20:26 GMT+08:00 Sven Barth : > > Compiling wmodel.lError: /usr/bin/ppcx64 can't be executed, error > message: Failed to execute "/usr/bin/ppcx64", error code: -139 > > Is there really a "ppcx64" in /usr/bin? And is it really executable? (try > "/usr/bin/ppcx64 -i" in a shell) Also check

Re: [fpc-pascal] "Double" specialization of generic class

2014-04-15 Thread Sven Barth
Am 15.04.2014 11:52 schrieb "Xiangrong Fang" : > While the following program generate different error: > > program vectr; > uses > treap, vector; > type > TNodeHash = specialize TTreap; > TNodeVector = class(specialize TVector) > protected > function OnSort(v1, v2: T): Integer; override

Re: [fpc-pascal] "Double" specialization of generic class

2014-04-15 Thread Xiangrong Fang
2014-04-15 17:21 GMT+08:00 Sven Barth : > Am 15.04.2014 08:47 schrieb "Xiangrong Fang" : > > It's good to know that it works, at least in 2.7.1. I will report the > problem again while I start using 2.7.1 or when it is released as 2.8 :-) > > That's the point: I don't know wether it compiles in

Re: [fpc-pascal] "Double" specialization of generic class

2014-04-15 Thread Sven Barth
Am 15.04.2014 08:47 schrieb "Xiangrong Fang" : > It's good to know that it works, at least in 2.7.1. I will report the problem again while I start using 2.7.1 or when it is released as 2.8 :-) That's the point: I don't know wether it compiles in 2.7.1 as I did not test it. If you could provide a

Re: [fpc-pascal] "Double" specialization of generic class

2014-04-14 Thread Xiangrong Fang
Hi Sven, I am using fpc 2.6.2. I am very sorry that I don't have time to compile and install 2.7.1 at this time. It's good to know that it works, at least in 2.7.1. I will report the problem again while I start using 2.7.1 or when it is released as 2.8 :-) For now, another suggestion regardin

Re: [fpc-pascal] "Double" specialization of generic class

2014-04-14 Thread Sven Barth
On 15.04.2014 03:51, Xiangrong Fang wrote: Hi, I got strange ppcx64 error: -139, which I found is caused by this: type TNodeStack = specialize TVector; where TNodeHash itself is a specialization: type PNode = ^TNode; //TNode is a plain record TNodeHash = specialize TTreap; Is it tru

[fpc-pascal] "Double" specialization of generic class

2014-04-14 Thread Xiangrong Fang
Hi, I got strange ppcx64 error: -139, which I found is caused by this: type TNodeStack = specialize TVector; where TNodeHash itself is a specialization: type PNode = ^TNode; //TNode is a plain record TNodeHash = specialize TTreap; Is it true that specialization of a generic class using a