summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/noerror-8
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2020-11-25 17:50:21 (GMT)
committerGitHub <noreply@github.com>2020-11-25 17:50:21 (GMT)
commit0b54c556a02f67a611638c47d5f92364da8eadd2 (patch)
tree2ba1eef16dd30a98b11ffa753fd8df28c3c469ca /config/gnu-warnings/noerror-8
parentffcb3542377c62cf972ff683c101e7268332f8a0 (diff)
downloadhdf5-0b54c556a02f67a611638c47d5f92364da8eadd2.zip
hdf5-0b54c556a02f67a611638c47d5f92364da8eadd2.tar.gz
hdf5-0b54c556a02f67a611638c47d5f92364da8eadd2.tar.bz2
Add else choice to error flags option (#128)
Diffstat (limited to 'config/gnu-warnings/noerror-8')
-rw-r--r--config/gnu-warnings/noerror-825
1 files changed, 25 insertions, 0 deletions
diff --git a/config/gnu-warnings/noerror-8 b/config/gnu-warnings/noerror-8
new file mode 100644
index 0000000..2f54a4d
--- /dev/null
+++ b/config/gnu-warnings/noerror-8
@@ -0,0 +1,25 @@
+# NOTE: src/ files are not compatible with these warnings as errors
+# src/H5Dchunk.c
+# -Werror=cast-function-type
+-Wcast-function-type
+#
+# For GCC 8, promote maybe-initialized warnings to an error. GCC 8
+# reports 0 maybe-uninitialized warnings where earlier versions
+# make many false reports. GCC 8 seems to analyze calls to static
+# in order to detect initializations that occur there. It's possible
+# that GCC 8 only performs that analysis at -O3, though.
+#
+#
+# NOTE: File Driver files are not compatible with these warnings as errors
+# H5FDlog.c,
+# -Werror=maybe-uninitialized
+-Wmaybe-uninitialized
+# NOTE: src/ files are not compatible with these warnings as errors
+# src/H5Shyper.c,src/H5SL.c,src/H5Shyper.c
+# -Werror=maybe-uninitialized
+# NOTE: Test files are not compatible with these warnings as errors
+# test/cache_common.c,
+# -Werror=maybe-uninitialized
+# NOTE: hl/src/ files are not compatible with these warnings as errors
+# hl/src/H5DS.c,
+# -Werror=maybe-uninitialized