summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2021-11-14 04:11:25 (GMT)
committerGitHub <noreply@github.com>2021-11-14 04:11:25 (GMT)
commit28e92647f08aed7b875576ecf552a2204f259e8d (patch)
tree1e7dfb00e6e9784015bb8aa0320d517e4748a8e5 /config/gnu-warnings
parentd224f98dbc63104b523186c9b708c2a05f6e4374 (diff)
downloadhdf5-28e92647f08aed7b875576ecf552a2204f259e8d.zip
hdf5-28e92647f08aed7b875576ecf552a2204f259e8d.tar.gz
hdf5-28e92647f08aed7b875576ecf552a2204f259e8d.tar.bz2
Move -Werror=int-conversion from error-general to error-5 in (#1194)
gnu-warnings (unrecognized command line option for gcc 4.85/4.93.
Diffstat (limited to 'config/gnu-warnings')
-rw-r--r--config/gnu-warnings/error-51
-rw-r--r--config/gnu-warnings/error-general1
2 files changed, 1 insertions, 1 deletions
diff --git a/config/gnu-warnings/error-5 b/config/gnu-warnings/error-5
index f7e1138..282ee3f 100644
--- a/config/gnu-warnings/error-5
+++ b/config/gnu-warnings/error-5
@@ -1,4 +1,5 @@
-Werror=incompatible-pointer-types
+-Werror=int-conversion
#
# In GCC 4.4.7, the compiler gripes about shadowed global
# declarations when a local variable uses the name of a
diff --git a/config/gnu-warnings/error-general b/config/gnu-warnings/error-general
index 31cc26c..a66d284 100644
--- a/config/gnu-warnings/error-general
+++ b/config/gnu-warnings/error-general
@@ -12,7 +12,6 @@
-Werror=pointer-sign
-Werror=pointer-to-int-cast
-Werror=int-to-pointer-cast
--Werror=int-conversion
-Werror=redundant-decls
-Werror=strict-prototypes
-Werror=switch