# HG changeset patch # User chegar # Date 1382532192 -3600 # Node ID c5e76df5aa74d32374cd600756e10139a0349906 # Parent 3ff530a51a1bf3487af2028e05387b91ea91a6a1 8027059: (sctp) fatal warnings overly restrictive with gcc 4.8.1 Reviewed-by: mduigou, dxu, erikj, ihse diff -r 3ff530a51a1b -r c5e76df5aa74 jdk/makefiles/lib/NioLibraries.gmk --- a/jdk/makefiles/lib/NioLibraries.gmk Wed Oct 23 13:06:37 2013 +0200 +++ b/jdk/makefiles/lib/NioLibraries.gmk Wed Oct 23 13:43:12 2013 +0100 @@ -150,7 +150,8 @@ 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