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

Martin Michlmayr tbm at cyrius.com
Fri Apr 7 22:03:22 UTC 2006


Package: enemylines7
Version: 0.5-2
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 I'll upgrade this to serious.

A patch is attached.


> Automatic build of enemylines7_0.5-2 on em64t by sbuild/amd64 1.112
...
> make[1]: Entering directory `/build/tbm/enemylines7-0.5'
> g++ -O2 -Wall `sdl-config --cflags` -I./   -c -o audio.o audio.cc
> g++ -O2 -Wall `sdl-config --cflags` -I./   -c -o config.o config.cc
> g++ -O2 -Wall `sdl-config --cflags` -I./   -c -o generators/intreg1.o generators/intreg1.cc
> generators/../map.h:28: error: extra qualification 'el7::Map::' on member 'inside'
> generators/../map.h:29: error: extra qualification 'el7::Map::' on member 'inside'
> make[1]: *** [generators/intreg1.o] Error 1


--- ./map.h~	2006-04-07 22:00:47.000000000 +0000
+++ ./map.h	2006-04-07 22:00:55.000000000 +0000
@@ -25,8 +25,8 @@
 	unsigned int dz();
 
 
-	bool Map::inside(C3 c);
-	bool Map::inside(C3f c);
+	bool inside(C3 c);
+	bool inside(C3f c);
 	
 	e_tiletype get(C3);
 	void set(C3,e_tiletype);

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




More information about the Pkg-games-devel mailing list