[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#300272: mailliststat: FTBFS (amd64/gcc-4.0): array type has incomplete element type



Package: mailliststat
Severity: normal
Tags: patch

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

make[1]: Entering directory `/mailliststat-1.3'
gcc -Wall -O3 -g -c mls.c -o mls.o
In file included from mls.c:22:
mls_text.h:33: error: array type has incomplete element type
make[1]: *** [mls.o] Error 1
make[1]: Leaving directory `/mailliststat-1.3'
make: *** [build] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/mailliststat-1.3/mls_text.h ./mls_text.h
--- ../tmp-orig/mailliststat-1.3/mls_text.h	2003-02-15 11:16:07.000000000 +0100
+++ ./mls_text.h	2005-03-18 19:05:04.628662941 +0100
@@ -30,7 +30,6 @@
 void PrintTopQ(nTptr, int);
 void PrintTopHtml(nTptr, int);
 void PrintGraph(long[], int, int);
-void PrintGraphHtml(long[], long[][], int, char *);
 
 void PrintStatText(int, char *);
 void PrintStatHtml(int, char *, short);



Reply to: