Date: Sun, 07 Aug 2005 12:49:45 -0500 (CDT) From: "Conrad J. Sabatier" <conrads@cox.net> 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: <XFMail.20050807124945.conrads@cox.net> In-Reply-To: <200508060505.j7655frX045444@blue.virtual-estates.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06-Aug-2005 Mikhail T. wrote: > Hello! > > 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! > > -mi > > P.S. Obviously, I'm trying to make things work perfectly > on amd64 :-) I think you're right about this. I've run into problems due to exactly this while trying to build a native amd64 big integer library for freenet (in Contrib/NativeBigInteger from freenet's CVS repo). The build succeeds, but crashes at runtime at exactly the point where the compiler warns about an incompatible pointer type. -- Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20050807124945.conrads>