[Debian-med-packaging] Bug#642016: some functions return values implicitly converted to pointer

Matthias Klose doko at ubuntu.com
Sun Sep 18 15:18:49 UTC 2011


Package: molphy
Version: 2.3b3-5
Severity: important
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oneiric

the amd64 build is rejected by the Ubuntu buildds; there is a bunch of functions
used without declaring the prototypes.

Function `mlikelihood' implicitly converted to pointer at sltree.c:471
Function `new_npvector' implicitly converted to pointer at njtree.c:360
Function `new_npvector' implicitly converted to pointer at njmtree.c:233
Function `new_tree' implicitly converted to pointer at protml.c:783
Function `newinfotrees' implicitly converted to pointer at protml.c:785
Function `mlikelihood' implicitly converted to pointer at protml.c:831
Function `new_njtree' implicitly converted to pointer at protml.c:963
Function `new_atree' implicitly converted to pointer at protml.c:982
Function `newinfoaltrees' implicitly converted to pointer at protml.c:995
Function `new_stree' implicitly converted to pointer at protml.c:1047
Function `newinfoqltrees' implicitly converted to pointer at protml.c:1198
Function `newinfoaddtree' implicitly converted to pointer at protml.c:1238
Function `mlikelihood' implicitly converted to pointer at optimtpm.c:17
Function `new_tree' implicitly converted to pointer at Nucml.c:783
Function `newinfotrees' implicitly converted to pointer at Nucml.c:785
Function `new_njtree' implicitly converted to pointer at Nucml.c:963
Function `new_atree' implicitly converted to pointer at Nucml.c:982
Function `newinfoaltrees' implicitly converted to pointer at Nucml.c:995
Function `new_stree' implicitly converted to pointer at Nucml.c:1047
Function `newinfoqltrees' implicitly converted to pointer at Nucml.c:1198
Function `newinfoaddtree' implicitly converted to pointer at Nucml.c:1238
Function `newtree' implicitly converted to pointer at Njdist.c:241
Function `new_npvector' implicitly converted to pointer at njproc.c:29



Our automated build log filter detected the problem(s) above that will
likely cause your package to segfault on architectures where the size of
a pointer is greater than the size of an integer, such as ia64 and amd64.

This is often due to a missing function prototype definition.

Since use of implicitly converted pointers is always fatal to the application
on ia64, they are errors.  Please correct them for your next upload.

More information can be found at:
http://wiki.debian.org/ImplicitPointerConversions





More information about the Debian-med-packaging mailing list