Since this commit (https://github.com/mongodb/mongo/commit/78c5f9dd5ac65eae251df3e87175a0af076d90d9), Windows builds report the following warning:
E:\workspace\mongo\src\mongo/bson/oid.h(83) : warning C4351: new behavior: elements of array 'mongo::OID::_data' will be default initialized
This can be fixed by either explicitly zeroing the array, or by disabling the warning through a #pragma (http://msdn.microsoft.com/en-us/library/1ywe7hcy.aspx).
- is related to
-
CXX-353 Suppress warning regarding default initialized array member on MSVC
- Closed
- links to