clang-5.0 introduces several new code warnings which mongod does not pass.
Three of these failures are bugs in clang and have been reported at https://bugs.llvm.org/show_bug.cgi?id=34804 and https://bugs.llvm.org/show_bug.cgi?id=34865
The remaining are legitimate (but minor) issues in our codebase that should be cleaned up.
- is related to
-
SERVER-34328 Build fails due to clang 9.1's -Wunused-lambda-capture
- Closed