Package: supertux
Version: 0.1.3-1
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 supertux_0.1.3-1 on bigsur by sbuild/mips 1.80
...
> if mips-linux-gnu-g++ -DPACKAGE_NAME=\"SuperTux\" 
> -DPACKAGE_TARNAME=\"supertux\" -DPACKAGE_VERSION=\"0.1.3\" 
> -DPACKAGE_STRING=\"SuperTux\ 0.1.3\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE=\"supertux\" -DVERSION=\"0.1.3\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBSDL_MIXER=1 
> -DHAVE_LIBSDL_IMAGE=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_MKDIR=1 
> -DHAVE_STRDUP=1 -DHAVE_STRSTR=1  -I. -I.     -g -O2 -I/usr/include/SDL 
> -D_REENTRANT  -DDATA_PREFIX='"/usr/share/games/supertux"' -MT badguy.o -MD 
> -MP -MF ".deps/badguy.Tpo" \
>         -c -o badguy.o `test -f 'badguy.cpp' || echo './'`badguy.cpp; \
>       then mv -f ".deps/badguy.Tpo" ".deps/badguy.Po"; \
>       else rm -f ".deps/badguy.Tpo"; exit 1; \
>       fi
> menu.h:210: error: extra qualification 'Menu::' on member 
> 'get_controlfield_key_into_input'
> make[2]: *** [badguy.o] Error 1


--- ./src/menu.h~       2006-03-10 15:22:12.000000000 +0000
+++ ./src/menu.h        2006-03-10 15:22:15.000000000 +0000
@@ -207,7 +207,7 @@
 
   bool isToggled(int id);
 
-  void Menu::get_controlfield_key_into_input(MenuItem *item);
+  void get_controlfield_key_into_input(MenuItem *item);
 
   void draw   ();
   void draw_item(int index, int menu_width, int menu_height);

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