Package: clif
Severity: normal
Tags: patch

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

gcc -c -DHAVE_CONFIG_H -DXWIN  -g -O2 -Wall  -I. -I. -I./example c-lex.c
In file included from ls.l:34:
tables.h:49: error: array type has incomplete element type
make[1]: *** [c-lex.o] Error 1
make[1]: Leaving directory `/clif-0.93'
make: *** [debian/build.stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/clif-0.93/tables.h ./tables.h
--- ../tmp-orig/clif-0.93/tables.h      1998-12-19 20:58:14.000000000 +0100
+++ ./tables.h  2005-03-15 20:15:09.342226977 +0100
@@ -38,6 +38,7 @@
 extern int identtab_init PROTO((void));
 extern int hastab_goto_init PROTO((void));
 
+#include "type.h"
 extern enum intern_arit_class integer_cons;
 extern enum intern_arit_class doub_cons;
 extern enum intern_arit_class flt_cons;


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

Reply via email to