From:
[email protected]
Package: gtalk
Severity: normal
Tags: patch
When building 'gtalk' with gcc-3.4 I get the following error:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../lib -g -O2 -c gt_display.c gt_display.c:1340: error: conflicting types for 'DISP_prompt' gt_display.c:1025: error: previous declaration of 'DISP_prompt' was here make[4]: *** [gt_display.o] Error 1
make[4]: Leaving directory `/gtalk-0.99.10/src/gtalk'
With the attached patch 'gtalk' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/gtalk-0.99.10/src/gtalk/gt_display.c ./src/gtalk/gt_display.c
--- ../tmp-orig/gtalk-0.99.10/src/gtalk/gt_display.c 1999-11-29 18:02:46.000000000 +0100
+++ ./src/gtalk/gt_display.c 2004-08-14 22:31:58.508454089 +0200
@@ -1336,9 +1336,7 @@
}
}
-static void DISP_prompt(Ctxt, in)
- struct TalkContext *Ctxt;
- char in;
+static void DISP_prompt(struct TalkContext *Ctxt, char in)
{
#define COLLECTSIZE 80
static char collect[COLLECTSIZE] = "";
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)