On Mon, Mar 20, 2006 at 05:31:17AM +0000, Martin Michlmayr wrote: > But then I get: > > Compiling ExtACTree.cc... > /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h: > In member function ???void Puma::PtrStack<T>::Destroy() [with T = > Puma::CTree]???: > /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/Builder.h:97: > instantiated from here > /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h:152: > error: invalid conversion from ???long int??? to ???const char*??? > /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h:152: > error: initializing argument 1 of ???int remove(const char*)??? > /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h: > In member function ???void Puma::PtrStack<T>::Remove() [with T = > Puma::CTree]???: > /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h:144: > instantiated from ???void Puma::PtrStack<T>::Reject() [with T = > Puma::CTree]??? > /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/Builder.h:96: > instantiated from here > /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h:159: > error: invalid conversion from ???long int??? to ???const char*??? > /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h:159: > error: initializing argument 1 of ???int remove(const char*)??? > make[3]: *** > [/home/tbm/src/aspectc++-0.99+1.0pre2/Puma/gen-release/obj-linux/ExtACTree.o] > Error 1 > make[2]: *** [step3] Error 2 >
I investigated the problem further, and the solution was to reweave Puma with a PUMA_CONFIG generated for g++-4.1. This means that when debian switches from g++-4.0 to g++-4.1, I will have to reweave it on my machine and reupload that then. Not much of a problem, but good to know. However, it seems that a Puma woven with PUMA_CONFIG generated for g++-4.1 does compile with g++-4.0. Olaf, what do you think about it? would it be feasible to release the pre4 woven sources tarball woven with g++-4.1? Gruesse, Reinhard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]