Package: innfeed
Version: 0.10.1.7-8
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.

cc  -g -O2       -o innfeed article.o buffer.o connection.o endpoint.o host.o 
innlistener.o main.o misc.o tape.o  config_l.o config_y.o version.o   
misc.o: In function `shrinkfile':
/srv/jenkins-slave/workspace/sid-goto-cc-innfeed/innfeed-0.10.1.7/misc.c:858: 
warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'

error: conflicting function declarations "mainLogStatus"
old definition in module host file host.c line 97
signed int (struct _IO_FILE *)
new definition in module main file main.c line 969
void (struct _IO_FILE *fp)
Makefile:184: recipe for target 'innfeed' failed
make[1]: *** [innfeed] Error 64
make[1]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-innfeed/innfeed-0.10.1.7'
debian/rules:7: recipe for target 'build' failed

Indeed this seems just an oversight of declarations here, as the declaration in
host.c lacks a return type specification, making it default to int - but no
function call actually uses the return value. Fixing the forward declaration
will ensure no one inadvertently uses the non-existent return value.

Best,
Michael

Attachment: pgppg5j0LZqiz.pgp
Description: PGP signature

Reply via email to