summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/error-5
diff options
context:
space:
mode:
Diffstat (limited to 'config/gnu-warnings/error-5')
-rw-r--r--config/gnu-warnings/error-57
1 files changed, 6 insertions, 1 deletions
diff --git a/config/gnu-warnings/error-5 b/config/gnu-warnings/error-5
index f7e1138..74137b5 100644
--- a/config/gnu-warnings/error-5
+++ b/config/gnu-warnings/error-5
@@ -9,4 +9,9 @@
# is not a supported compiler, so let us promote shadowed globals
# warnings to errors only for GCC 5 and later.
#
--Werror=shadow
+#
+#
+# NOTE: JNI files are not compatible with these warnings as errors
+# jni/h5aImp.c,jni/h5eImp.c,jni/h5lImp.c,jni/h5oImp.c
+# -Werror=shadow
+-Wshadow