error: 'jvariant::jvariant(jbyte)' cannot be overloaded

Andrew Haley aph@redhat.com
Sun Jul 19 07:52:00 GMT 2009


On 07/19/2009 07:02 AM, Florian Weimer wrote:
> * Mathieu Malaterre:
>>> I am trying to compile VTK using gcj and I am getting those compiler
>> error, could someone please let me know if the code is legal (should
>> compile) or not:
>> This is legal per Sun's JNI specficiation: jboolean and jbyte are
> distinct types because there signedness differs:
>> <http://java.sun.com/javase/6/docs/technotes/guides/jni/spec/types.html#wp198>
>> It's a bug in GCC.

I didn't see the original message to which this is replying. If you can
make a test case I'll see if the bug can be fixed.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /