Date: Mon, 8 Aug 2005 23:20:27 -0600 From: Greg Lewis <glewis@eyesbeyond.com> To: "Mikhail T." <mi@aldan.algebra.com> Cc: gnome@FreeBSD.org, java@FreeBSD.org, glewis@FreeBSD.org, phantom@FreeBSD.org Subject: Re: should not jint be as wide as void* ? Message-ID: <20050809052027.GA43606@misty.eyesbeyond.com> In-Reply-To: <200508060505.j7655frX045444@blue.virtual-estates.net> References: <200508060505.j7655frX045444@blue.virtual-estates.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 06, 2005 at 01:05:41AM -0400, Mikhail T. wrote: > Looking deep into Mozilla's LiveConnect sources (under > mozilla/sun-java/stubs/include/) I gather, jint really > wants to be intptr_t -- not a mere int as, for example, > jdk1.5.0/include/freebsd/jni_md.h makes it out to be. > > Can anyone comment? Thanks! I'm doing a build of the current CVS on FreeBSD 5.4/amd64 at the moment. It hasn't gotten to the plugin build yet, but I'll be interested to see (a) if there are warnings about pointer widths and (b) if it works :). Until then, its worth noting that the Linux amd64 release from Sun (1.5.0_04) still has jint defined as int. It appears that Solaris in 64 bit mode also still has jint defined as an int. This raises some questions in terms of compatibility for us to change it to be something other than an int. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050809052027.GA43606>