[SERVER-15358] warning C4351: new behavior: elements of array 'mongo::OID::_data' will be default initialized Created: 23/Sep/14 Updated: 11/Jul/16 Resolved: 26/Sep/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.8 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Kaloian Manassiev | Assignee: | Adam Midvidy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | Windows | ||||||||
| Steps To Reproduce: | Build using the VS 2013 Update 2 toolkit. |
||||||||
| Participants: | |||||||||
| Description |
|
Since this commit (https://github.com/mongodb/mongo/commit/78c5f9dd5ac65eae251df3e87175a0af076d90d9), Windows builds report the following warning:
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). |
| Comments |
| Comment by Githook User [ 25/Sep/14 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: Closes #792 Signed-off-by: Benety Goh <benety@mongodb.com> |