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

Gonéri Le Bouder goneri at rulezlan.org
Sat Apr 8 10:36:04 UTC 2006


On Saturday 8 April 2006 00:03, Martin Michlmayr wrote:
> 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);

i fowarded the patch to upstream author.


Cheers,

	Gonéri



More information about the Pkg-games-devel mailing list