Build error with GCC4.8 on Fedora19

Erik Joelsson erik.joelsson at oracle.com
Tue Jul 9 07:40:44 UTC 2013


I would like to see a comment explaining why the option was needed. Is
this a bug in gcc or has the checking just become better?

/Erik

On 2013-07-09 07:46, Dan Xu wrote:
> Adding build-dev mailing list.
>
>
> On 07/08/2013 09:54 PM, Yasu wrote:
>> Sorry, I forgot to attach a patch:
>>
>> ------
>>
>> diff -r 52454985425d makefiles/CompileNativeLibraries.gmk
>> --- a/makefiles/CompileNativeLibraries.gmk Mon Jul 08 19:24:22 2013 -0700
>> +++ b/makefiles/CompileNativeLibraries.gmk Tue Jul 09 13:41:12 2013 +0900
>> @@ -1987,7 +1987,7 @@
>>
>> ifneq ($(OPENJDK_TARGET_OS),macosx)
>>
>> - SCTP_WERROR := -Werror
>> + SCTP_WERROR := -Werror -Wno-error=unused-parameter
>> ifeq ($(OPENJDK_TARGET_CPU_ARCH), ppc)
>> SCTP_WERROR :=
>> endif



More information about the core-libs-dev mailing list