Bug#362218: FTBFS with GCC 4.2: cast from pointer to integer of different size

Sven Arvidsson sa at whiz.se
Wed Apr 25 12:38:53 UTC 2007


> Package: libxklavier
> Version: 2.2-1
> 
> Your package fails to build with GCC 4.2.  Version 4.2 has not been
> released yet but I'm building with a snapshot in order to find errors
> and give people an advance warning.  The bug below is in your package
> and not because I'm using a snapshot of the compiler so please take a
> look at it.  You can reproduce this with the gcc-snapshot package.
> 
> 
> This is on AMD64:
> 
> > Automatic build of libxklavier_2.2-1 on em64t by sbuild/amd64 1.112
> ...
> >  cc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -DDATA_DIR=\"/usr/share/libxklavier\" -I. -I/usr/include -I/usr/include/libxml2 -I -I.. -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -g -Wall -O2 -c xklavier.c  -fPIC -DPIC -o .libs/xklavier.o
> > cc1: warnings being treated as errors
> > xklavier.c: In function 'XklGrabKey':
> > xklavier.c:290: warning: cast from pointer to integer of different size
> > xklavier.c: In function 'XklUngrabKey':
> > xklavier.c:311: warning: cast from pointer to integer of different size
> > make[3]: *** [xklavier.lo] Error 1

Hi,

Do you know if libxklavier 3.2-2, from unstable, still fails to build
with GCC 4.2?

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070425/51a38125/attachment.pgp


More information about the pkg-gnome-maintainers mailing list