summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-03-24 22:42:58 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-03-24 22:42:58 (GMT)
commit2b8407a3ca541a491fd71efb92ac182f412959d4 (patch)
treedbd70c7d2df5b332f8c4836bb46a4ab198146e57 /config/gnu-warnings
parent0d6adfc610fc9b344aac7be8f303f5306cdbe5e4 (diff)
downloadhdf5-2b8407a3ca541a491fd71efb92ac182f412959d4.zip
hdf5-2b8407a3ca541a491fd71efb92ac182f412959d4.tar.gz
hdf5-2b8407a3ca541a491fd71efb92ac182f412959d4.tar.bz2
Fix Werror issues in JNI and tools
Diffstat (limited to 'config/gnu-warnings')
-rw-r--r--config/gnu-warnings/error-general4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/gnu-warnings/error-general b/config/gnu-warnings/error-general
index 5f7e4e1..d747b7d 100644
--- a/config/gnu-warnings/error-general
+++ b/config/gnu-warnings/error-general
@@ -14,6 +14,7 @@
#-Werror=discarded-qualifiers
-Werror=missing-declarations
-Werror=missing-prototypes
+-Werror=unused-but-set-variable
#
# NOTE: File Driver files are not compatible with these warnings as errors
# H5FDdirect.c,H5FDmpio.c,H5FDros3.c,
@@ -31,9 +32,6 @@
# lib/h5tools.c
# -Werror=cast-align
-Wcast-align
-# lib/h5diff_array.c
-# -Werror=unused-but-set-variable
--Werror=unused-but-set-variable
# lib/h5tools_utils.c
# -Werror=unused-parameter
#