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

Reply via email to