Package: splitvt
Severity: normal
Tags: patch

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

gcc -Wall  -O2 -DTERMCAP -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H 
-DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"abcdepqrstuvwxyz\" 
-DHEXDIGIT=\"0123456789abcdef\"   -c -o vtmouse.o vtmouse.c
vtmouse.c:87: error: static declaration of 'xt_input' follows non-static 
declaration
vtmouse.h:42: error: previous declaration of 'xt_input' was here
vtmouse.c:87: error: static declaration of 'xt_output' follows non-static 
declaration
vtmouse.h:42: error: previous declaration of 'xt_output' was here
make[1]: *** [vtmouse.o] Error 1
make[1]: Leaving directory `/splitvt-1.6.5'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/splitvt-1.6.5/vtmouse.h ./vtmouse.h
--- ../tmp-orig/splitvt-1.6.5/vtmouse.h 1995-01-20 21:46:03.000000000 +0100
+++ ./vtmouse.h 2005-02-10 20:22:02.617444171 +0100
@@ -39,5 +39,4 @@
 extern int  event_getc();
 extern void event_quit();
 
-extern FILE *xt_input, *xt_output;     /* Usually untouched */
 


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

Reply via email to