build warnings (original) (raw)

Michael McMahon michael.x.mcmahon at oracle.com
Fri Feb 7 10:43:40 UTC 2014


It seems, the warning is emitted by the combination of:

-W -Wall

and could be disabled by adding -Wno-unused-parameter

Michael

On 07/02/14 10:06, Dmitry Samersoff wrote:

Michael,

I'm totally agree with you (and had sent to build-dev approx the same letter about two weeks ago). On my opinion we should turn off unused parameter warning, at least for product build. -Dmitry

On 2014-02-07 14:02, Michael McMahon 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.



More information about the build-dev mailing list