summaryrefslogtreecommitdiffstats
path: root/config/clang-warnings/cxx-error-general
blob: 85cd9a3edde98ba1c60ace308f4ef9576ab3d786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
-Werror=packed
-Werror=redundant-decls
-Werror=switch
# 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
-Werror=unused-function
-Werror=unused-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