From: Florian Weimer <fw@deneb.enyo.de>
To: Andrew Haley <aph@redhat.com>
Cc: Mathieu Malaterre <mathieu.malaterre@gmail.com>, java@gcc.gnu.org
Subject: Re: error: 'jvariant::jvariant(jbyte)' cannot be overloaded
Date: Mon, 20 Jul 2009 08:28:00 -0000 [thread overview]
Message-ID: <87ab2zoj1a.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <4A642814.7030101@redhat.com> (Andrew Haley's message of "Mon, 20 Jul 2009 09:17:24 +0100")
* Andrew Haley:
>> Right. I still think it's a bug which should be fixed. It's also
>> easy to pick up GCC's <jni.h> when compiling for OpenJDK, so it's not
>> just GCJ which is affected by this.
>
> Well, it mostly is, since JNI code is mostly written in C.
Not sure about this.
> I suppose that's why this has never been noticed before.
javah generats an extern "C" wrapper for the prototypes, so you're
still ABI-compatible to the JNI interface even if you use C++.
next prev parent reply other threads:[~2009-07-20 8:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 12:38 Mathieu Malaterre
2009-07-19 6:02 ` Florian Weimer
2009-07-19 7:52 ` Andrew Haley
2009-07-19 8:17 ` Florian Weimer
2009-07-19 15:17 ` Andrew Haley
2009-07-19 18:53 ` Florian Weimer
2009-07-20 8:17 ` Andrew Haley
2009-07-20 8:28 ` Florian Weimer [this message]
2009-07-21 7:17 ` Mathieu Malaterre
2009-07-21 7:49 ` Andrew Haley
2009-07-21 8:45 ` Mathieu Malaterre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ab2zoj1a.fsf@mid.deneb.enyo.de \
--to=fw@deneb.enyo.de \
--cc=aph@redhat.com \
--cc=java@gcc.gnu.org \
--cc=mathieu.malaterre@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).