summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/cxx-noerror-general
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/cxx-noerror-general
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/cxx-noerror-general')
-rw-r--r--config/gnu-warnings/cxx-noerror-general32
1 files changed, 32 insertions, 0 deletions
diff --git a/config/gnu-warnings/cxx-noerror-general b/config/gnu-warnings/cxx-noerror-general
new file mode 100644
index 0000000..8cc1d94
--- /dev/null
+++ b/config/gnu-warnings/cxx-noerror-general
@@ -0,0 +1,32 @@
+#
+# HDF5 code should not trigger the following warnings under any
+# circumstances, so ask the compiler to treat them as errors:
+#
+# NOTE: c++/test files are not compatible with these warnings as errors
+# c++/test/tcompound.cpp
+# -Werror=cast-align
+-Wcast-align
+# NOTE: c++/src files are not compatible with these warnings as errors
+# c++/src/H5Object.cpp
+# -Werror=missing-declarations
+-Wmissing-declarations
+-Wpacked
+-Wredundant-decls
+-Wswitch
+# NOTE: c++/test files are not compatible with these warnings as errors
+# c++/test/tattr.cpp
+# -Werror=unused-but-set-variable
+-Wunused-but-set-variable
+-Wunused-function
+-Wunused-variable
+# NOTE: c++/src files are not compatible with these warnings as errors
+# c++/src/H5Object.cpp,c++/src/H5StrType.cpp,c++/src/H5PredType.cpp
+# -Werror=unused-parameter
+-Wunused-parameter
+#
+# Other files not compatible
+# NOTE: c++/test files are not compatible with these warnings as errors
+# c++/test/titerate.cpp,c++/test/tarray.cpp
+# -Werror=missing-declarations
+# c++/test/titerate.cpp,c++/test/tarray.cpp,c++/test/tlinks.cpp,c++/test/ttypes.cpp,c++/test/dsets.cpp
+# -Werror=unused-parameter