Package: tela
Version: 2.0-10.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 tela_2.0-10.1 on bigsur by sbuild/mips 1.86
...
> g++ -c -I/build/tbm/tela-2.0 -DPACKAGE_NAME= -DPACKAGE_TARNAME= 
> -DPACKAGE_VERSION= -DPACKAGE_STRING= -DPACKAGE_BUGREPORT= -DLINUX=1 
> -DSTDC_HEADERS=1 -DRETSIGTYPE=void -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_ALLOCA_H=1 
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_DLFCN_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_SYS_PROCFS_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ISTREAM=1 
> -DHAVE_CLOCKS_PER_SEC=1 -DHAVE_IEEE754_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 
> -DTIMEVAL_HAS_USEC=1 -DHAVE_POPEN=1 -DHAVE_DRAND48=1 -DHAVE_RUSAGE=1 
> -DHAVE_SYSCONF=1 -I. -I./t -O2 -Wall -Wno-unused -Wuninitialized -g -O2 
> std19400.c
> In file included from 
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/strstream:51,
>                  from error.H:9,
>                  from object.H:13,
>                  from symbol.H:12,
>                  from std19400.c:1:
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/backward_warning.h:32:2:
>  warning: #warning This file includes at least one deprecated or antiquated 
> header. Please consider using one of the 32 headers found in section 17.4.1.2 
> of the C++ standard. Examples include substituting the <X> header for the 
> <X.h> header for C++ includes, or <iostream> instead of the deprecated header 
> <iostream.h>. To disable this warning use -Wno-deprecated.
> std.ct: In function 'int mapfunction(const Tobject* const*, int, Tobject* 
> const*, int)':
> std.ct:1312: error: 'Call' was not declared in this scope
> std.ct: In function 'int user_cmp(const void*, const void*)':
> std.ct:2729: error: 'Call' was not declared in this scope
> std.ct: In function 'int runfunction(const Tobject* const*, int, Tobject* 
> const*, int)':
> std.ct:3632: warning: missing sentinel in function call
> make[1]: *** [std.o] Error 1
> make[1]: Leaving directory `/build/tbm/tela-2.0'
> make: *** [build-stamp] Error 2


--- ./prg.H~    2006-03-11 20:39:21.000000000 +0000
+++ ./prg.H     2006-03-11 20:40:53.000000000 +0000
@@ -60,10 +60,10 @@
 
 extern void optimize(TInstructionList& il, TIntLL& linenums, const Tsymbol 
*symptr);
 
-//extern void Call(const Tobject& fn,
-//              const TConstObjectPtr inputs[], const int Ninputs,
-//              const TObjectPtr outputs[], const int Noutputs,
-//              const Tsymbol* symptr=0, bool 
check_that_first_output_not_obligatory=false);
+void Call(const Tobject& fn,
+                const TConstObjectPtr inputs[], const int Ninputs,
+                const TObjectPtr outputs[], const int Noutputs,
+                const Tsymbol* symptr, bool 
check_that_first_output_not_obligatory);
 
 class Tprg {   // flatcode sequence with static objects
  private:

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