summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/error-5
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-03-24 17:34:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-03-24 17:34:17 (GMT)
commite235df5288f9b21aebe5604e433ea8f7e3ddefe3 (patch)
tree6e8f4afe7407fd50f5e0f35d4c33282e9ff4d64c /config/gnu-warnings/error-5
parent15328ae0ae002ef424085317e1c25f29fe2299ba (diff)
downloadhdf5-e235df5288f9b21aebe5604e433ea8f7e3ddefe3.zip
hdf5-e235df5288f9b21aebe5604e433ea8f7e3ddefe3.tar.gz
hdf5-e235df5288f9b21aebe5604e433ea8f7e3ddefe3.tar.bz2
TRILAB-192 Identify warnings that fail as errors
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