summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-07-28 14:14:12 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-07-28 14:14:12 (GMT)
commitd93bc843aa22938c9ffc3f34f9fd2701ad4f4d99 (patch)
tree181ec7c40841ded3e36dede91246b0bc616072fa
parent04e775b127987821d8e1c3993221598f348e7226 (diff)
downloadhdf5-d93bc843aa22938c9ffc3f34f9fd2701ad4f4d99.zip
hdf5-d93bc843aa22938c9ffc3f34f9fd2701ad4f4d99.tar.gz
hdf5-d93bc843aa22938c9ffc3f34f9fd2701ad4f4d99.tar.bz2
Promote more warnings to errors.
-rw-r--r--config/gnu-warnings/error-51
-rw-r--r--config/gnu-warnings/error-general2
2 files changed, 3 insertions, 0 deletions
diff --git a/config/gnu-warnings/error-5 b/config/gnu-warnings/error-5
index f7e1138..000f218 100644
--- a/config/gnu-warnings/error-5
+++ b/config/gnu-warnings/error-5
@@ -10,3 +10,4 @@
# warnings to errors only for GCC 5 and later.
#
-Werror=shadow
+-Werror=int-conversion
diff --git a/config/gnu-warnings/error-general b/config/gnu-warnings/error-general
index f0e61f8..28e8ae9 100644
--- a/config/gnu-warnings/error-general
+++ b/config/gnu-warnings/error-general
@@ -5,7 +5,9 @@
-Werror=bad-function-cast
-Werror=declaration-after-statement
-Werror=implicit-function-declaration
+-Werror=int-to-pointer-cast
-Werror=missing-declarations
+-Werror=missing-field-initializers
-Werror=missing-prototypes
-Werror=nested-externs
-Werror=old-style-definition