-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
Attempting to build mongod with clang-3.4 generates a warning which is escalated to an error:
In file included from src/third_party/v8/src/x64/builtins-x64.cc:28: In file included from src/third_party/v8/src/v8.h:56: In file included from src/third_party/v8/src/v8utils.h:31: src/third_party/v8/src/utils.h:976:20: error: comparison of constant 32 with expression of type 'v8::internal::AstPropertiesFlag' is always true [-Werror,-Wtautological-constant-out-of-range-compare] ASSERT(element < static_cast<int>(sizeof(T) * CHAR_BIT));
We should add a -Wno for this warning which isn't terribly interesting.