Re: Bug#324030: swt-gtk: FTBFS on 64 bit arches: error: cast from 'void*' to 'jint' loses precision
- To: Michael Koch <konqueror@gmx.de>
- Cc: Shaun Jackman <sjackman@gmail.com>, Kurt Roeckx <kurt@roeckx.be>, 324030@bugs.debian.org, debian-alpha@lists.debian.org, debian-amd64@lists.debian.org, debian-ia64@lists.debian.org
- Subject: Re: Bug#324030: swt-gtk: FTBFS on 64 bit arches: error: cast from 'void*' to 'jint' loses precision
- From: Steve Langasek <vorlon@debian.org>
- Date: Tue, 13 Sep 2005 12:20:03 -0700
- Message-id: <[🔎] 20050913192003.GF1007@tennyson.dodds.net>
- Mail-followup-to: Michael Koch <konqueror@gmx.de>, Shaun Jackman <sjackman@gmail.com>, Kurt Roeckx <kurt@roeckx.be>, 324030@bugs.debian.org, debian-alpha@lists.debian.org, debian-amd64@lists.debian.org, debian-ia64@lists.debian.org
- In-reply-to: <[🔎] 20050913181739.GI18986@asterix.konqueror.de>
- References: <20050819213916.GA24320@roeckx.be> <7f45d93905081915166ab326fb@mail.gmail.com> <[🔎] 7f45d93905091309526d7ad043@mail.gmail.com> <[🔎] 20050913181739.GI18986@asterix.konqueror.de>
On Tue, Sep 13, 2005 at 08:17:39PM +0200, Michael Koch wrote:
> SWT generally runs on 64 bit archs. I built my Eclipse packages on amd64.
> The problems is that you need to run JNIGeneratorApp on the sources. This
> application replaces the integers used normally on 32-bit archs with longs
> for 64-bit archs. Its IMO a bad design but the SWT people took this approach
> to not need to use 8 byte variables to store pointers in them on 32-bit archs.
Which is a pretty lame excuse, because sizeof(long) == 4 on 32-bit archs
(not just Linux but most other platforms as well), and sizeof(long) == 8
on 64-bit archs...
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/
Attachment:
signature.asc
Description: Digital signature
Reply to: