Package: torcs
Version: 1.2.4-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 torcs_1.2.4-1 on bigsur by sbuild/mips 1.94
...
> g++ -I/build/tbm/torcs-1.2.4/build-tree/torcs-1.2.4/export/include 
> -I/build/tbm/torcs-1.2.4/build-tree/torcs-1.2.4 -g -Wall -O2 -Wall -fPIC -O2 
> -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -O2 -DUSE_RANDR_EXT 
> -DGL_GLEXT_PROTOTYPES  -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H  -c 
> grmain.cpp
> grscreen.h:81: error: extra qualification 'cGrScreen::' on member 'camDraw'
> make[6]: *** [grmain.o] Error 1
> make[6]: Leaving directory 
> `/build/tbm/torcs-1.2.4/build-tree/torcs-1.2.4/src/modules/graphic/ssggraph'


--- ./torcs-1.2.4/src/modules/graphic/ssggraph/grscreen.h~      2006-03-15 
02:26:43.000000000 +0000
+++ ./torcs-1.2.4/src/modules/graphic/ssggraph/grscreen.h       2006-03-15 
02:26:56.000000000 +0000
@@ -78,7 +78,7 @@
 
     void update(tSituation *s, float Fps);
 
-    void cGrScreen::camDraw(tSituation *s);
+    void camDraw(tSituation *s);
 
     void updateCurrent(tSituation *s);
 

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