Bug#634350: kanatest: Implicit declaration of function 'gtk_combo_box_new_text'
Andreas Moog
amoog at ubuntu.com
Mon Jul 18 19:03:01 UTC 2011
Package: kanatest
Version: 0.4.8-2
Severity: important
User: dannf at debian.org
Usertags: implicit-pointer-conversion
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
Your package uses the function 'gtk_combo_box_new_text' but declares -DGTK_DISABLE_DEPRECATED
This leads to the problem that some function prototypes aren't included and
(which is bad) some integers are converted to pointers without a cast. See
on http://wiki.debian.org/ImplicitPointerConversions why this is a problem.
Here is an excerpt from the buildlog at https://buildd.debian.org/status/fetch.php?pkg=kanatest&arch=ia64&ver=0.4.8-2&stamp=1301316430:
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DLOCALEDIR=\"/usr/share/locale\" -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/libxml2 -g -O2 -MT gui.o -MD -MP -MF .deps/gui.Tpo -c -o gui.o gui.c
gui.c: In function 'start_test_cb':
gui.c:124: warning: passing argument 2 of 'g_timeout_add' from incompatible pointer type
/usr/include/glib-2.0/glib/gmain.h:509: note: expected 'GSourceFunc' but argument is of type 'gboolean (*)(struct GUI *)'
gui.c: In function 'gui_create_window':
gui.c:629: warning: implicit declaration of function 'gtk_combo_box_new_text'
gui.c:629: warning: assignment makes pointer from integer without a cast
gui.c:637: warning: implicit declaration of function 'gtk_combo_box_append_text'
gui.c:656: warning: assignment makes pointer from integer without a cast
According to the above mentioned wiki page, this should have caused the build
to fail, but the script doesn't seem active at the moment.
- -- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-999-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBAgAGBQJOJINhAAoJEGHzRCZ03mYkihAQAIuE+kL/1dFktZHBdFiA++G1
ix/RgH/LSQjG8H7tU6E9eG08Ypge3EqtOqOcpJej3tPtdty96caJuw/es08qbyad
+EimYL78QozMK79DwQnCM7bwHIu2Mlot1GCeGs9KB9JgbZuGq3Jl+PlvXvfNzwD7
kMLjR3A4L3838W/YXUL5NCk5p00U08dA2lcZJjNHf6GS209uutTDGMtjgOz66SZ4
bO+wZqh96Uyxvst/vcuwdxMF3nFClFdFuzyQpxpo7RQbhFz5kmjHYBD7GdVolHMP
Z9em2gGELlxaRl8gqhaEmnotJ4v4h4wTyKCaOYKLVPoVkwHTVvf21Mt1IkuEOBPf
dAKoaUO4a4o6Ktbn9pM1ZocwaxmaAqAGZ6PRZbwa7BHb0seDmLR1ZckiJ58zdknj
K4SWgI6ootk0VPHbJV9jz/lnqh+QSYzKFgaDtLx7vw0I3KmBT1+QGM/8slD39zA4
KGoZjlkOOqT6gK3wndRi7kbp7bOm1oYHoa7ujY/sHu5UD9E2aRdM7JpKCQsP9E5r
DkHS46ZIVjH71pq9TB/HxRLPf8O4bd7tKBimtiJc2N6iuxvN8iiGDuIXw21rCzzG
X7X8DXUDD1+cVi7e1zMqCbPw+yYayLxWCJF8HPfd2a0PY/KPn90boFGlBgDnnkI5
dEmL4Hub3FXiZUZjigB8
=sLFY
-----END PGP SIGNATURE-----
More information about the Pkg-games-devel
mailing list