Part of the issue seems to be that the meaning of -Wno-unused seems to have changed and/or become ineffective. It's reported that it previously hid all unused parameter warnings though it doesn't seem to on any compiler I'm currently using.
I've included -Wno-unused-parameter with the changes going in JDK-8030350 so you should soon see the number of these warnings greatly diminish. Mike On Feb 7 2014, at 02:02 , Michael McMahon <michael.x.mcma...@oracle.com> wrote: > Just wondering is there a plan to deal with build warnings on Linux? > > I was experimenting with macros that could be used to deal with the > -Wunused-parameter > warning, but there are over 3700 occurrences and frankly it's not a very > useful > warning in the context of JNI formal function parameters at least. Some more > useful > warnings are getting lost in the noise. > > - Michael. >