summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings-7
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-25 17:38:15 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-02-25 17:38:15 (GMT)
commitd8e5995f6d158ddf835da1ee669240ca092bf4a7 (patch)
treeab3422b7d751bc70edb8719aaebd0516cf5a9dec /config/gnu-warnings-7
parentddb95a6dc51b38c82f6604facf464672882ef4d8 (diff)
downloadhdf5-d8e5995f6d158ddf835da1ee669240ca092bf4a7.zip
hdf5-d8e5995f6d158ddf835da1ee669240ca092bf4a7.tar.gz
hdf5-d8e5995f6d158ddf835da1ee669240ca092bf4a7.tar.bz2
Break out warnings into more files that autoconf and CMake can share. This
change temporarily disables the warnings that were promoted to errors, but I will add those warnings back as warnings, not errors, in the next commit.
Diffstat (limited to 'config/gnu-warnings-7')
-rw-r--r--config/gnu-warnings-77
1 files changed, 7 insertions, 0 deletions
diff --git a/config/gnu-warnings-7 b/config/gnu-warnings-7
new file mode 100644
index 0000000..266f5c1
--- /dev/null
+++ b/config/gnu-warnings-7
@@ -0,0 +1,7 @@
+-Walloca
+-Walloc-zero
+-Wduplicated-branches
+-Wformat-overflow=2
+-Wformat-truncation=1
+-Wimplicit-fallthrough=5
+-Wrestrict