summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/developer-4.8
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-08-21 22:13:03 (GMT)
committerGitHub <noreply@github.com>2023-08-21 22:13:03 (GMT)
commitceef4a9ebd055f9ec0378a97ec2ce9421cdec866 (patch)
tree887ab50783fb357f8c5f9fe0dee1d6ba5dc536a5 /config/gnu-warnings/developer-4.8
parent89b4afd4b317c5131cbc8607c99d21b369d050eb (diff)
downloadhdf5-ceef4a9ebd055f9ec0378a97ec2ce9421cdec866.zip
hdf5-ceef4a9ebd055f9ec0378a97ec2ce9421cdec866.tar.gz
hdf5-ceef4a9ebd055f9ec0378a97ec2ce9421cdec866.tar.bz2
Merge/update CMake, presets,java and tools (#3393)
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