Package: noiz2sa
Version: 0.51a-4
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 noiz2sa_0.51a-4 on bigsur by sbuild/mips 1.86
...
> g++  `sdl-config --cflags` -Wall -g -O2 -I/usr/include  -c -o foe.o foe.cc
> foecommand.h:39: error: extra qualification 'FoeCommand::' on member 
> 'doAccelX'
> foecommand.h:40: error: extra qualification 'FoeCommand::' on member 
> 'doAccelY'
> foecommand.h:41: error: extra qualification 'FoeCommand::' on member 
> 'getBulletSpeedX'
> foecommand.h:42: error: extra qualification 'FoeCommand::' on member 
> 'getBulletSpeedY'
> foe.cc: In function 'void initFoes()':
> foe.cc:60: warning: unused variable 'j'
> foe.cc: In function 'void closeFoes()':
> foe.cc:71: warning: unused variable 'j'
> foe.cc: In function 'Foe* addFoe(int, int, double, int, int, int, int, 
> BulletMLParser*)':
> foe.cc:91: warning: unused variable 'i'
> foe.cc: In function 'void drawFoes()':
> foe.cc:335: warning: unused variable 'px'
> foe.cc:335: warning: unused variable 'py'
> make[1]: *** [foe.o] Error 1


--- ./foecommand.h~     2006-03-12 00:57:41.000000000 +0000
+++ ./foecommand.h      2006-03-12 00:57:53.000000000 +0000
@@ -36,10 +36,10 @@
   

   virtual void doChangeDirection(double d);

   virtual void doChangeSpeed(double s);

-  virtual void FoeCommand::doAccelX(double ax);

-  virtual void FoeCommand::doAccelY(double ay);

-  virtual double FoeCommand::getBulletSpeedX();

-  virtual double FoeCommand::getBulletSpeedY();

+  virtual void doAccelX(double ax);

+  virtual void doAccelY(double ay);

+  virtual double getBulletSpeedX();

+  virtual double getBulletSpeedY();

   

  private:

   struct foe *foe;


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