Package: chemtool
Version: 1.6.14-1
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  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -Wl,-z,relro -Wl,--as-needed   -o chemtool main.o 
draw.o graph.o chemproc.o undo.o inout.o -lgtk-x11-2.0 -lgdk-x11-2.0 
-lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 
-lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype    -lX11 -lm 

file undo.c line 315: error: conflicting function declarations 
"undo_get_undo_count"
old definition in module main file ct.h line 238
signed int ()
new definition in module undo file undo.c line 315
unsigned int (void)
make[3]: *** [chemtool] Error 64
make[3]: Leaving directory 
`/srv/jenkins-slave/workspace/sid-goto-cc-chemtool/chemtool-1.6.14'

The difference in return types will likely not result in observable errors as
long as the number of undo steps fits into a positive signed int. Yet adjusting
the declaration will ensure that the compiler can generate meaningful warnings.

Best,
Michael

Attachment: pgpuxp17z8g14.pgp
Description: PGP signature

Reply via email to