Package: sdcc
Version: 2.5.0-10
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 sdcc_2.5.0-10 on bigsur by sbuild/mips 1.94
...
> make[3]: Leaving directory `/build/tbm/sdcc-2.5.0/sim/ucsim'
> make[3]: Entering directory `/build/tbm/sdcc-2.5.0/sim/ucsim'
> mips-linux-gnu-g++ -g -O2 -gstabs+ -g3 -pipe -I. -Wall -I. -I./sim.src 
> -Icmd.src -Igui.src  -c pobj.cc -o pobj.o
> cmd.src/newcmdcl.h:127: error: extra qualification 'cl_console::' on member 
> 'clone_for_exec'
> make[3]: *** [pobj.o] Error 1
> make[3]: Leaving directory `/build/tbm/sdcc-2.5.0/sim/ucsim'
> make[2]: *** [all] Error 2


--- ./sim/ucsim/cmd.src/newcmdcl.h~     2006-03-17 14:53:08.000000000 +0000
+++ ./sim/ucsim/cmd.src/newcmdcl.h      2006-03-17 14:53:15.000000000 +0000
@@ -124,7 +124,7 @@
   cl_console(int portnumber, class cl_app *the_app);
 #endif
   virtual ~cl_console(void);
-  virtual class cl_console *cl_console::clone_for_exec(char *fin);
+  virtual class cl_console *clone_for_exec(char *fin);
   virtual int init(void);
 
   virtual bool accept_last(void);

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