Package: bombermaze
Version: 0.6.6-15
Severity: important
Tags: patch

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 patch is below.


> Automatic build of bombermaze_0.6.6-15 on bigsur by sbuild/mips 1.75
...
> make[4]: Entering directory `/build/tbm/bombermaze-0.6.6/src'
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gdk-pixbuf-1.0/ 
> -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include 
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 
> -I/usr/include/gtk-1.2     -DG_LOG_DOMAIN=\"bombermaze\"   
> -DGNOMELOCALEDIR=\""/usr/share/locale"\"        
> -DPACKAGE_DATADIR=\"/usr/share/bombermaze\"     -I../intl -I../intl  -Wall  
> -g -O2 -c ui.cc
> map.hh:572: error: extra qualification 'PowerUp::' on member 
> 'DefaultProbability'
> make[4]: *** [ui.o] Error 1


--- src/map.hh~ 2006-03-07 16:22:10.000000000 +0000
+++ src/map.hh  2006-03-07 16:22:16.000000000 +0000
@@ -569,7 +569,7 @@
   static unsigned Shatter_Frame_Duration;
 
   static float Probability_Of_PowerUp;
-  static const float PowerUp::DefaultProbability[NUMBER_OF_CREATABLE_POWERUPS];
+  static const float DefaultProbability[NUMBER_OF_CREATABLE_POWERUPS];
   static float Probability[NUMBER_OF_CREATABLE_POWERUPS];
 
   void determine_powerup_type(void);

-- 
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