Re: error: 'jvariant::jvariant(jbyte)' cannot be overloaded
Florian Weimer <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
* 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++.