When upgrading the version of clang on our automated testing infrastructure to 3.4.2 we disabled a set of warnings. We should review the disabled warnings and make code changes necessary to avoid them.
The set of warnings are:
--- a/build_posix/aclocal/strict.m4 +++ b/build_posix/aclocal/strict.m4 @@ -90,6 +90,12 @@ AC_DEFUN([AM_CLANG_WARNINGS], [ w="$w -Wno-reserved-id-macro" w="$w -Wno-zero-length-array" + # Added when switching to building with clang 3.4.2 + w="$w -Wno-parentheses-equality" + w="$w -Wno-self-assign" + w="$w -Wno-unreachable-code" + w="$w -Wno-unreachable-code-return"
They were added as part of WT-3535
- related to
-
WT-3535 Fix ASAN build on Jenkins
- Closed