summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/developer-4.8
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-12 01:25:57 (GMT)
committerGitHub <noreply@github.com>2022-07-12 01:25:57 (GMT)
commitc62b02660933852d0d5528aee02d8509be13423a (patch)
tree6079228b4b4c1bd4a630748ac437e24e49a0ad84 /config/gnu-warnings/developer-4.8
parentaf014fa61c1ffcf5a09d68e357b0190fe8ee0efa (diff)
downloadhdf5-c62b02660933852d0d5528aee02d8509be13423a.zip
hdf5-c62b02660933852d0d5528aee02d8509be13423a.tar.gz
hdf5-c62b02660933852d0d5528aee02d8509be13423a.tar.bz2
Moves -Wstrict-overflow=5 to the developer warnings (#1878)
Diffstat (limited to 'config/gnu-warnings/developer-4.8')
-rw-r--r--config/gnu-warnings/developer-4.87
1 files changed, 7 insertions, 0 deletions
diff --git a/config/gnu-warnings/developer-4.8 b/config/gnu-warnings/developer-4.8
index bfd15a1..be7720c 100644
--- a/config/gnu-warnings/developer-4.8
+++ b/config/gnu-warnings/developer-4.8
@@ -6,6 +6,13 @@
#
-Wjump-misses-init
+# developer warning flag added for GCC >= 4.5
+#
+# strict-overflow level 5 catches a LOT of false positives, but is useful
+# for detecting overflow conditions.
+#
+-Wstrict-overflow=5
+
# developer warning flag added for GCC >= 4.6
-Wsuggest-attribute=const