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

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



Package: cantus
Severity: normal
Tags: patch

Thank you for fixing the gcc-4.0 related bug which I reported a while ago.

Unfortunately, the latest version of gcc-4.0 is still more restrictive and
causes another error message.

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

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wpointer-arith -Wmissing-prototypes 	 -Wall -g -O2 -Wall -Wunused   -c file2tag.c
In file included from file2tag.c:29:
gui_file2tag.h:21: error: array type has incomplete element type
file2tag.c: In function 'file2tag_preview_selected':
file2tag.c:233: warning: cast from pointer to integer of different size
file2tag.c:249: error: type of formal parameter 1 is incomplete
file2tag.c:274: error: type of formal parameter 1 is incomplete
make[3]: *** [file2tag.o] Error 1
make[3]: Leaving directory `/cantus-1.07/src'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/cantus-1.07/src/gui_file2tag.h ./src/gui_file2tag.h
--- ../tmp-orig/cantus-1.07/src/gui_file2tag.h	2002-09-27 23:48:02.000000000 +0200
+++ ./src/gui_file2tag.h	2005-03-18 09:39:57.661657656 +0100
@@ -19,4 +19,3 @@
 
 void file2tag_form_clear(void);
-void file2tag_form_fill(gchar *values[][]);
 



Reply to: