Bug#357404: FTBFS with G++ 4.1: extra qualification

Martin Michlmayr tbm at cyrius.com
Fri Mar 17 04:08:12 UTC 2006


Package: rrootage
Version: 0.23a-3
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 rrootage_0.23a-3 on bigsur by sbuild/mips 1.94
...
> g++  `sdl-config --cflags` -DLINUX -Wall -g -O2 -I./bulletml/  -c -o foe.o foe.cc
> In file included from ./bulletml/boost/config.hpp:35,
>                  from ./bulletml/boost/scoped_array.hpp:17,
>                  from ./bulletml/boost/smart_ptr.hpp:18,
>                  from bulletml/bulletmlrunner.h:14,
>                  from barragemanager.h:17,
>                  from foe.cc:12:
> ./bulletml/boost/config/compiler/gcc.hpp:66:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results"
> foecommand.h:42: error: extra qualification 'FoeCommand::' on member 'doAccelX'
> foecommand.h:43: error: extra qualification 'FoeCommand::' on member 'doAccelY'
> foecommand.h:44: error: extra qualification 'FoeCommand::' on member 'getBulletSpeedX'
> foecommand.h:45: error: extra qualification 'FoeCommand::' on member 'getBulletSpeedY'
> make[1]: *** [foe.o] Error 1


--- ./src/foecommand.h~	2006-03-17 04:05:54.000000000 +0000
+++ ./src/foecommand.h	2006-03-17 04:06:02.000000000 +0000
@@ -39,10 +39,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/




More information about the Pkg-games-devel mailing list