Package: zinf
Version: 2.2.5-5.1
Severity: important

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A partial patch is below but I've no idea how to fix all of the
problems.


> Automatic build of zinf_2.2.5-5.1 on bigsur by sbuild/mips 1.78
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../config -D_REENTRANT -I../../base/include 
> -I../../base/unix/include -I../../lib/utf8 -I../../ui/include 
> -I../../lmc/include -I../../io/include -I../../mdb 
> -DLOCALEDIR=\"/usr/share/locale\" -DUNIX_LIBDIR=\"/usr/lib\" 
> -DUNIX_DATADIR=\"/usr/share\" -g -Wall -O2 -MT bootstrap.lo -MD -MP -MF 
> .deps/bootstrap.Tpo -c src/bootstrap.cpp  -fPIC -DPIC -o .libs/bootstrap.o
> ../../base/include/event.h:41: warning: 'class EventQueue' has virtual 
> functions but non-virtual destructor
> ../../base/include/queue.h: In member function 'bool Queue<T>::IsEmpty()':
> ../../base/include/queue.h:165: error: there are no arguments to 'assert' 
> that depend on a template parameter, so a declaration of 'assert' must be 
> available
> ../../base/include/queue.h:165: error: (if you use '-fpermissive', G++ will 
> accept your code, but allowing the use of an undeclared name is deprecated)
> ../../base/include/queue.h: In member function 'void Queue<T>::GetLock()':
> ../../base/include/queue.h:170: error: there are no arguments to 'assert' 
> that depend on a template parameter, so a declaration of 'assert' must be 
> available
> ../../base/include/queue.h: In member function 'void Queue<T>::ReleaseLock()':
> ../../base/include/queue.h:176: error: there are no arguments to 'assert' 
> that depend on a template parameter, so a declaration of 'assert' must be 
> available

No idea about this.

> ../../base/include/player.h:158: error: extra qualification 'Player::' on 
> member 'SetEQData'
> ../../base/include/player.h:164: error: extra qualification 'Player::' on 
> member 'SendVisBuf'
> make[3]: *** [bootstrap.lo] Error 1

Here's a patch for this.


--- ./base/include/player.h~    2006-03-09 05:56:46.000000000 +0000
+++ ./base/include/player.h     2006-03-09 05:56:56.000000000 +0000
@@ -155,13 +155,13 @@
     
     #define _EQUALIZER_ENABLE_
     #ifdef  _EQUALIZER_ENABLE_
-    void Player::SetEQData(Event *pEvent);
+    void SetEQData(Event *pEvent);
     #endif // _EQUALIZER_ENABLE_
     #undef  _EQUALIZER_ENABLE_    
 
     #define _VISUAL_ENABLE_
     #ifdef  _VISUAL_ENABLE_
-    void Player::SendVisBuf(Event *pEvent); 
+    void SendVisBuf(Event *pEvent); 
     #endif // _VISUAL_ENABLE_
     #undef  _VISUAL_ENABLE_  
 

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to