Just installed Ubuntu 13.10 and see this build failure

/space/repos/jdk8/tl/jdk/src/solaris/native/sun/nio/ch/sctp/SctpChannelImpl.c: In function 'Java_sun_nio_ch_sctp_SctpChannelImpl_initIDs': /space/repos/jdk8/tl/jdk/src/solaris/native/sun/nio/ch/sctp/SctpChannelImpl.c:86:24: error: unused parameter 'klass' [-Werror=unused-parameter]
   (JNIEnv *env, jclass klass) {
                        ^
Google returns an old mail talking about it at

  http://mail.openjdk.java.net/pipermail/build-dev/2013-July/009513.html

Applying the patch in that mail solves the problem. It's also gcc 4.8.1 here. Does gcc have something like @SuppressWarnings?

Thanks
Max

Reply via email to