summaryrefslogtreecommitdiffstats
path: root/config/clang-warnings
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-06-09 21:12:31 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2020-06-09 21:12:31 (GMT)
commit32c353ed4360630646e0bfd40387aa7b4fd403ea (patch)
treefa0e9e0638459b9f66a472344b82c4b7ad1cddfb /config/clang-warnings
parentbc51dea95ac97884874a5a8dbf06d90e61ffa0aa (diff)
downloadhdf5-32c353ed4360630646e0bfd40387aa7b4fd403ea.zip
hdf5-32c353ed4360630646e0bfd40387aa7b4fd403ea.tar.gz
hdf5-32c353ed4360630646e0bfd40387aa7b4fd403ea.tar.bz2
Update new clang files to not pick up clang as vendor for pgCC.
Add new files to MANIFEST Temporary demotion of 2 -Werror warning flags that fail on macos 10.12 Remove Production flag unknown to Apple clang.
Diffstat (limited to 'config/clang-warnings')
-rw-r--r--config/clang-warnings/error-general9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/clang-warnings/error-general b/config/clang-warnings/error-general
index a9aa516..558d740 100644
--- a/config/clang-warnings/error-general
+++ b/config/clang-warnings/error-general
@@ -4,15 +4,20 @@
#
-Werror=bad-function-cast
-Werror=implicit-function-declaration
--Werror=incompatible-pointer-types
+#-Werror=incompatible-pointer-types
-Werror=missing-declarations
-Werror=packed
-Werror=shadow
--Werror=sometimes-uninitialized
+#-Werror=sometimes-uninitialized
-Werror=switch
#
#-Werror=discarded-qualifiers
#
+# Note: For macos 10.12, etc
+# H5Dint.c,H5Dchunk.c,H5Gint.c
+# -Wincompatible-pointer-types-discards-qualifiers
+# # H5Dvirtual.c,H5SL.c
+# -Wsometimes-uninitialized
#
# NOTE: File Driver files are not compatible with these warnings as errors
# H5FDdirect.c,H5FDmpio.c,H5FDros3.c,