Matthias Klose, the debian GCC maintainer, noticed that Puma fails to
build from source (FTBFS) with gcc 4.7. While this is not critical for
Debian at this point, could you perhaps have a look at the following
patch and consider it for the next release?

=== modified file 'Puma/src/basics/PtrStack.h'
--- old/Puma/src/basics/PtrStack.h      2012-03-12 16:47:29 +0000
+++ new/Puma/src/basics/PtrStack.h      2012-04-11 18:46:17 +0000
@@ -96,7 +96,7 @@
 template <class T>
 inline T *PtrStack<T>::Top () const { 
   if (Length () > 0)
-    return lookup (Index ()); 
+    return Array<T*>::lookup (Index ()); 
   else 
     return (T*)0;
 }
@@ -116,7 +116,7 @@
 inline T *PtrStack<T>::Get (long idx) const {
   if (Length () <= 0 || idx < 0 || (unsigned long)idx >= (unsigned long)Length 
())
     return (T*)0;
-  return lookup (Bottom () + 1 + idx);
+  return Array<T*>::lookup (Bottom () + 1 + idx);
 }
 
 template <class T>

Btw, your previous patch in Puma r728 did work just fine for me, thanks!

Cheers,
Reinhard



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to