From a4e294381f242adad6dec1a82543d06eef80f35b Mon Sep 17 00:00:00 2001 From: Chris Hegarty Date: Wed, 23 Oct 2013 13:43:12 +0100 Subject: [PATCH] 8027059: (sctp) fatal warnings overly restrictive with gcc 4.8.1 Reviewed-by: mduigou, dxu, erikj, ihse --- jdk/makefiles/lib/NioLibraries.gmk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jdk/makefiles/lib/NioLibraries.gmk b/jdk/makefiles/lib/NioLibraries.gmk index 2896eeea84f..afab1c9c29c 100644 --- a/jdk/makefiles/lib/NioLibraries.gmk +++ b/jdk/makefiles/lib/NioLibraries.gmk @@ -150,7 +150,8 @@ ifeq ($(OPENJDK_TARGET_OS_API), posix) ifneq ($(OPENJDK_TARGET_OS), macosx) - SCTP_WERROR := -Werror + # Suppress unused parameters required by exported JNI functions. + SCTP_WERROR := -Werror -Wno-error=unused-parameter ifeq ($(OPENJDK_TARGET_CPU_ARCH), ppc) SCTP_WERROR := endif