Package: tla
Severity: normal
Tags: patch

When building 'tla' on amd64 with gcc-4.0,
I get the following error:

cc -I/tla-1.3/debian/build/config-include -I/tla-1.3/debian/build 
-I/tla-1.3/src -g -O2    -c -o vu-virtual-null.o 
/tla-1.3/src/hackerlab/vu/vu-virtual-null.c
/tla-1.3/src/hackerlab/vu/vu-virtual-null.c:62: error: static declaration of 
'vu_virtual_null_vtable' follows non-static declaration
/tla-1.3/src/hackerlab/vu/vu-virtual-null.h:25: error: previous declaration of 
'vu_virtual_null_vtable' was here
make[3]: *** [vu-virtual-null.o] Error 1
make[3]: Leaving directory `/tla-1.3/debian/build/hackerlab/vu'

With the attached patch 'tla' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/tla-1.3/src/hackerlab/vu/vu-virtual-null.h 
./src/hackerlab/vu/vu-virtual-null.h
--- ../tmp-orig/tla-1.3/src/hackerlab/vu/vu-virtual-null.h      2004-12-23 
05:30:22.000000000 +0100
+++ ./src/hackerlab/vu/vu-virtual-null.h        2005-01-10 16:11:34.000000000 
+0100
@@ -22,7 +22,7 @@
  * An in-process emulation of /dev/null.
  *
  */
-extern struct vu_fs_discipline vu_virtual_null_vtable;
+/* extern struct vu_fs_discipline vu_virtual_null_vtable; */
 
 
 /* automatically generated __STDC__ prototypes */


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to