summaryrefslogtreecommitdiffstats
path: root/config/clang-warnings
diff options
context:
space:
mode:
Diffstat (limited to 'config/clang-warnings')
-rw-r--r--config/clang-warnings/developer-general1
-rw-r--r--config/clang-warnings/error-general12
2 files changed, 5 insertions, 8 deletions
diff --git a/config/clang-warnings/developer-general b/config/clang-warnings/developer-general
index aa8c32e..74d8404 100644
--- a/config/clang-warnings/developer-general
+++ b/config/clang-warnings/developer-general
@@ -1,3 +1,4 @@
-Wformat-nonliteral
-Wmissing-noreturn
+-Wsometimes-uninitialized
-Wswitch-enum
diff --git a/config/clang-warnings/error-general b/config/clang-warnings/error-general
index 558d740..883dff7 100644
--- a/config/clang-warnings/error-general
+++ b/config/clang-warnings/error-general
@@ -4,20 +4,16 @@
#
-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=switch
#
-#-Werror=discarded-qualifiers
+# NOTE: Following files are not compatible with incompatible-pointer-types as errors
+# src/H5Dchunk.c,src/H5Dint.c,src/H5Gint.c,src/H5HFcache.c,src/H5I.c,src/H5T.c
+-Wno-error=incompatible-pointer-types-discards-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,