------- Comment #2 from rmsalinas at uco dot es 2010-05-17 17:50 ------- Subject: Re: Compiling never ends
My god! you work really fast! Yes, I've found the error just few seconds ago. Great work! dougsemler at gmail dot com escribió: > ------- Comment #1 from dougsemler at gmail dot com 2010-05-17 17:46 ------- > This is the offender: > > Node(const T& v,Node<T*> Tparent=NULL) {_parent=Tparent;_data=v;} > > It looks like you have transposed the *> (it should be the following, right? > > Node(const T& v,Node<T>* Tparent=NULL) {_parent=Tparent;_data=v;} > > Every iteration of this is producing a new template instantiation attempt > (recursively). > > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44172