Package: diablo Severity: normal Tags: patch When building 'diablo' on amd64 with gcc-4.0, I get the following error:
In file included from defs.h:631, from main.c:31: ../obj/dreaderd-protos.h:12: error: array type has incomplete element type main.c:49: error: array type has incomplete element type With the attached patch 'diablo' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/diablo-5.0/dreaderd/main.c ./dreaderd/main.c --- ../tmp-orig/diablo-5.0/dreaderd/main.c 2004-01-30 08:03:17.000000000 +0100 +++ ./dreaderd/main.c 2005-03-15 22:02:23.406367196 +0100 @@ -46,7 +46,7 @@ Prototype pid_t *ReaderPids; Prototype char *RTStatus; Prototype char *MyGroupHome; -Prototype struct vserver VServerConfig[]; +Prototype struct vserver *VServerConfig; void HandleDnsThread(ForkDesc *desc); void ValidateTcpBufferSize(int *psize); -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]