This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Marking JNI funtions extern
- From: Andrew Haley <aph at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: tromey at redhat dot com, java at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 21 May 2004 11:58:35 +0100
- Subject: Re: Marking JNI funtions extern
- References: <1085053681.17363.421.camel@elsschot.wildebeest.org><873c5vqewx.fsf@fleche.redhat.com><1085136365.17367.541.camel@elsschot.wildebeest.org>
Mark Wielaard writes:
> Hi,
>
> On Thu, 2004-05-20 at 17:47, Tom Tromey wrote:
> > >>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
> >
> > Mark> Is there a reason why gcjh -jni marks all JNI functions extern JNIEXPORT
> > Mark> and not just JNIEXPORT?
> >
> > Not that I know of.
>
> OK in that case I propose the following patch:
>
> 2004-05-21 Mark Wielaard <mark@klomp.org>
>
> * gjavah.c (print_stub_or_jni): Mark functions only JNIEXPORT, not
> extern.
>
> The extern function modifiers were confusing the kaffe build process.
OK, but I'm curious. In what way was this confusing the Kaffe build process?
Andrew.