changeset 10413:ab0e61a57df7

8027059: (sctp) fatal warnings overly restrictive with gcc 4.8.1 Reviewed-by: mduigou, dxu, erikj, ihse
author chegar
date Wed, 23 Oct 2013 13:43:12 +0100
parents aabaae5de1ee
children 5b4261b4b72a
files makefiles/lib/NioLibraries.gmk
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/makefiles/lib/NioLibraries.gmk	Wed Oct 23 13:06:37 2013 +0200
+++ b/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