Package: scorched3d Version: 39.1+cvs20050929-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 (probably in a few weeks) I'll upgrade this to serious. A patch is below. > Automatic build of scorched3d_39.1+cvs20050929-2 on bigsur by sbuild/mips 1.94 ... > if mips-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" > -DPACKAGE=\"scorched3d\" -DVERSION=\"39\" -I. -I. -I../porting -I.. > -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include > -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 > -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -g -O2 -I/usr/include/SDL -D_REENTRANT > -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 > -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -I/usr/include/freetype2 > -DS3D_DOCDIR=\"/usr/share/doc/scorched3d\" > -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games\" > -DdDOUBLE -MT GLWPlanView.o -MD -MP -MF ".deps/GLWPlanView.Tpo" \ > -c -o GLWPlanView.o `test -f '../GLW/GLWPlanView.cpp' || echo > './'`../GLW/GLWPlanView.cpp; \ > then mv -f ".deps/GLWPlanView.Tpo" ".deps/GLWPlanView.Po"; \ > else rm -f ".deps/GLWPlanView.Tpo"; exit 1; \ > fi > ../landscape/LandscapePoints.h:44: error: extra qualification > 'LandscapePoints::' on member 'findPoint' > ../landscape/MovementMap.h:68: error: extra qualification 'MovementMap::' on > member 'POINT_TO_UINT' > make[3]: *** [GLWPlanView.o] Error 1 --- ./src/landscape/MovementMap.h~ 2006-03-17 05:17:03.000000000 +0000 +++ ./src/landscape/MovementMap.h 2006-03-17 05:17:22.000000000 +0000 @@ -65,7 +65,7 @@ MovementMapEntry *entries_; HeightMap &hMap_; - unsigned int MovementMap::POINT_TO_UINT(unsigned int x, unsigned int y); + unsigned int POINT_TO_UINT(unsigned int x, unsigned int y); void addPoint(unsigned int x, unsigned int y, float height, float dist, std::map<unsigned int, MovementMap::MovementMapEntry> &edgeMap, --- ./src/landscape/LandscapePoints.h~ 2006-03-17 05:17:11.000000000 +0000 +++ ./src/landscape/LandscapePoints.h 2006-03-17 05:17:15.000000000 +0000 @@ -41,7 +41,7 @@ int noPts_; void createPoints(HeightMap &map, int width, int points); - void LandscapePoints::findPoint(HeightMap &map, Position *pos, float x, float y); + void findPoint(HeightMap &map, Position *pos, float x, float y); }; #endif -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]