Package: clif
Version: 0.93-9
Severity: wishlist
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the build failed with the following error. Please note that we use our research
compiler tool-chain (using tools from the cbmc package), which permits extended
reporting on type inconsistencies at link time.

[...]
gcc c-parser.o c-lex.o keyword.o rs-parser.o rs-lex.o tables.o help.o global.o 
store_cont.o virtual_machine.o clif.o getc_unix.o comp_maint.o allocx.o 
printf_unix.o input.o memmove.o symbols.o remote_call.o ch-parser.o ch-lex.o 
channel_maint.o s-conv.o dbg-out.o pso.o sig-svr4.o  -lelf  -lm  -lX11  -o clif

error: conflicting function declarations "in_word_set"
old definition in module c-lex file ls.l line 481
struct el_mc * (char *, unsigned int)
new definition in module keyword file keyword.c line 59
struct el_mc * (char *str, unsigned int len)

reason for conflict at nil.tok in types listed below (struct/struct):
names of component 1 differ (tok/kval)
struct el_mc {
  char * name;
  signed int tok;
}
struct el_mc {
  char * name;
  signed int kval;
}

As the C standard requires matching field names for all struct members, one of
the declarations should be fixed to match the other - or just use a shared
header file.

Best,
Michael

Attachment: pgpw1KlxONVqa.pgp
Description: PGP signature

Reply via email to