This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Marking JNI funtions extern


Hi,

On Fri, 2004-05-21 at 12:58, Andrew Haley wrote:
> Mark Wielaard writes:
>  > 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,

Thanks. Committed.

> but I'm curious.  In what way was this confusing the Kaffe build process?

In certain cases they define JNIEXPORT as "extern" and "extern extern"
isn't valid. I actually think they should not define JNIEXPORT as
"extern" though, so next up is convincing them to fix their jni.h (or
adopt the libgcj/GNU Classpath one of course).

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]