In Suse Linux 9.3 (updated to latest versions of all
packages ( -- at least as according to YAST :-) ) the
complation of BluezZ.cpp fails on line 1940.The error
message is:
__________________
BlueZ.cpp:1940: error: invalid conversion from `const
jbyte*' to `jbyte*'
BlueZ.cpp:1940: error: initializing argument 4 of `void
JNIEnv_::SetByteArrayRegion(_jbyteArray*, int, int,
jbyte*)'
____________
line 1940 reads:
env->SetByteArrayRegion(jbData, 0, attrlen,(const
jbyte*)s);
changing it to :
env->SetByteArrayRegion(jbData, 0, attrlen,(jbyte*)s);
lets the compilation succeed.
I'm not sure if the above change to line 1940 is
significant, I haven't tried to use the API yet.
Stumbling on the compile was not a good start.
Rgds
/Anders
Logged In: YES
user_id=1339163
Ooops,
added bug report before being a sourceforge member.
not intended -- have joined.
Logged In: YES
user_id=771997
According to this forum message:
http://sourceforge.net/forum/message.php?msg_id=3088680
It seems to happen on some non-Sun JDK. I'm not sure if
that's related.