summaryrefslogtreecommitdiffstats
path: root/config/clang-warnings/noerror-general
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-09-24 20:02:33 (GMT)
committerGitHub <noreply@github.com>2021-09-24 20:02:33 (GMT)
commit108c7397372751efe5f953c854673cbcfc7356ca (patch)
treeb826ec01ec8dba1e2889021675d11631d8c84b4d /config/clang-warnings/noerror-general
parent9e93204a23346a5b7cf5b8673cf50e6ac2497021 (diff)
downloadhdf5-108c7397372751efe5f953c854673cbcfc7356ca.zip
hdf5-108c7397372751efe5f953c854673cbcfc7356ca.tar.gz
hdf5-108c7397372751efe5f953c854673cbcfc7356ca.tar.bz2
1.8 Merge config changes from dev (#1032)
* Merge config changes from dev * Revert added git file changes * Merge MS clang needs EHsc flag #1035
Diffstat (limited to 'config/clang-warnings/noerror-general')
-rw-r--r--config/clang-warnings/noerror-general6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/clang-warnings/noerror-general b/config/clang-warnings/noerror-general
index b570b23..f90c812 100644
--- a/config/clang-warnings/noerror-general
+++ b/config/clang-warnings/noerror-general
@@ -1,6 +1,8 @@
#
-# HDF5 code should not trigger the following warnings under any
-# circumstances, so ask the compiler to treat them as errors:
+# These warnings will be treated as errors, using the error-general file,
+# when HDF5_ENABLE_WARNINGS_AS_ERRORS is set to true for CMake or
+# the --enable-warnings-as-errors option is specified for configure.
+# Otherwise this file will be used to treat them as warnings.
#
-Wbad-function-cast
-Wimplicit-function-declaration