[Pkg-e-devel] Bug#747961: Parameter declarations of evas_common_rgba_image_from_copied_data differ in signedness

Michael Tautschnig mt at debian.org
Tue May 13 10:27:08 UTC 2014


Package: evas
Version: 1.7.9-2
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.

[...]
make[5]: Entering directory `/srv/jenkins-slave/workspace/sid-goto-cc-evas/evas-1.7.9/src/lib'
  CC       main.lo
  CCLD     libevas.la

error: conflicting function declarations "evas_common_rgba_image_from_copied_data"
old definition in module evas_image_main file evas_image_private.h line 5
signed int (struct _Image_Entry *, unsigned int, unsigned int, unsigned int *, signed int, signed int)
new definition in module evas_image_data file evas_image_data.c line 47
signed int (struct _Image_Entry *ie_dst, signed int w, signed int h, unsigned int *image_data, signed int alpha, signed int cspace)
make[5]: *** [libevas.la] Error 64

The above conflict (in parameters w and h) may be harmless (even though
technically undefined behaviour) if actual parameters always fit into a positive
signed int.

Yet it should be easy enough to fix, and may help the compiler in producing
meaningful warnings.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-e-devel/attachments/20140513/49f0c8f9/attachment.sig>


More information about the Pkg-e-devel mailing list