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 regarding this error is the error message it gave out, which is not understandable (error -139), I only find out the cause of this by comparing my source code in git. I hope this is also improved in 2.7 or later. Thanks! Shannon 2014-04-15 13:34 GMT+08:00 Sven Barth <pascaldra...@googlemail.com>: > 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<TNodeHash>; >> >> where TNodeHash itself is a specialization: >> >> type >> PNode = ^TNode; //TNode is a plain record >> TNodeHash = specialize TTreap<Integer, PNode>; >> >> Is it true that specialization of a generic class using another >> specialized generic class is not allowed? >> > > No, that should work. Maybe some bug. Is there any error message? Could > you present the full compiler output, please? You are using 2.7.1, right? > > Regards, > Sven > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal