[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: gcc 2.95.3 problems with kdevelop cvs
From:       Roberto Raggi <raggi () cli ! di ! unipi ! it>
Date:       2002-12-11 21:07:37
[Download RAW message or body]

On Wednesday 11 December 2002 18:53, ian reinhart geiser wrote:
> That patch seemed to fix the build error on 297, but there where a fair lot
> more.  What exactly does the patch do and can I apply a similar idea to the
> rest of the file?

it's like you can't assign directly a value of type auto_ptr<T> to a variabile 
of type auto_ptr<T>&.. a simple workaround is to replace all  occurrence of

node = CreateNode<T>();

with 

T::Node tmp = CreateNode<T>()
node = tmp; 

ciao robe

_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic