diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-04-23 19:32:29 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-04-23 19:32:29 (GMT) |
commit | f9a3ae50812a527c7b88a39d7d5b6629aa234a2d (patch) | |
tree | 0f8086db007f84788c5e0ae717c7ef550891e205 /config/gnu-warnings/cxx-error-general | |
parent | 5ea58acf8a2bdf8ca19d4c86d9ef94fbc4ac449f (diff) | |
download | hdf5-f9a3ae50812a527c7b88a39d7d5b6629aa234a2d.zip hdf5-f9a3ae50812a527c7b88a39d7d5b6629aa234a2d.tar.gz hdf5-f9a3ae50812a527c7b88a39d7d5b6629aa234a2d.tar.bz2 |
TRILAB-244 separate CXX warnings and errors from C
Diffstat (limited to 'config/gnu-warnings/cxx-error-general')
-rw-r--r-- | config/gnu-warnings/cxx-error-general | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/config/gnu-warnings/cxx-error-general b/config/gnu-warnings/cxx-error-general new file mode 100644 index 0000000..85cd9a3 --- /dev/null +++ b/config/gnu-warnings/cxx-error-general @@ -0,0 +1,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 |