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

Michael Tautschnig mt at debian.org
Tue May 13 13:56:30 UTC 2014


Package: efl
Version: 1.8.6-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.


  CXXLDlib/evas/libevas.la

error: conflicting function declarations "evas_common_rgba_image_from_copied_data"
old definition in module evas_image_main file lib/evas/common/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 lib/evas/common/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]: *** [lib/evas/libevas.la] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory `/srv/jenkins-slave/workspace/sid-goto-cc-efl/efl-1.8.6'
dh_auto_build: make -j1 returned exit code 2

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

PS.: This is essentially a duplicate of #747961. Yay for embedded code copies.

-------------- 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/7c52f96b/attachment.sig>


More information about the Pkg-e-devel mailing list