Package: crm114
Version: 20100106-3
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  -DVERSION='"20100106-BlameMichelson"' -Wall -g -O2  cssutil.o \
    crm_css_maintenance.o \
    crm_util_errorhandlers.o \
    crm_str_funcs.o -lm -ltre -o cssutil

file crm114.h line 54: error: conflicting function declarations "nonfatalerror5"
old definition in module crm_util_errorhandlers file crm_util_errorhandlers.c 
line 31
signed long int (char *str1, char *str2)
new definition in module crm_str_funcs file crm114.h line 54
signed long int (char *, char *, char *, char *, unsigned int)
make[1]: *** [cssutil] Error 64
make[1]: Leaving directory 
`/srv/jenkins-slave/workspace/sid-goto-cc-crm114/crm114-20100106'

It seems the actual definition takes fewer parameters than the declaration in
the header file suggests. This need not cause immediate problems, but may point
at maintenance issues. (And technically is undefined behaviour.)

Best,
Michael

Attachment: pgpEsJt9Frp8a.pgp
Description: PGP signature

Reply via email to