| 1 |
# |
| 2 |
# HDF5 code should not trigger the following warnings under any |
| 3 |
# circumstances, so ask the compiler to treat them as errors: |
| 4 |
# |
| 5 |
# NOTE: c++/test files are not compatible with these warnings as errors |
| 6 |
# c++/test/tcompound.cpp |
| 7 |
# -Werror=cast-align |
| 8 |
-Wcast-align |
| 9 |
# NOTE: c++/src files are not compatible with these warnings as errors |
| 10 |
# c++/src/H5Object.cpp |
| 11 |
# -Werror=missing-declarations |
| 12 |
-Wmissing-declarations |
| 13 |
-Werror=packed |
| 14 |
-Werror=redundant-decls |
| 15 |
-Werror=switch |
| 16 |
# NOTE: c++/test files are not compatible with these warnings as errors |
| 17 |
# c++/test/tattr.cpp |
| 18 |
# -Werror=unused-but-set-variable |
| 19 |
-Wunused-but-set-variable |
| 20 |
-Werror=unused-function |
| 21 |
-Werror=unused-variable |
| 22 |
# NOTE: c++/src files are not compatible with these warnings as errors |
| 23 |
# c++/src/H5Object.cpp,c++/src/H5StrType.cpp,c++/src/H5PredType.cpp |
| 24 |
# -Werror=unused-parameter |
| 25 |
-Wunused-parameter |
| 26 |
# |
| 27 |
# Other files not compatible |
| 28 |
# NOTE: c++/test files are not compatible with these warnings as errors |
| 29 |
# c++/test/titerate.cpp,c++/test/tarray.cpp |
| 30 |
# -Werror=missing-declarations |
| 31 |
# c++/test/titerate.cpp,c++/test/tarray.cpp,c++/test/tlinks.cpp,c++/test/ttypes.cpp,c++/test/dsets.cpp |
| 32 |
# -Werror=unused-parameter |