[CXX-231] Windows doesn't like DBClientCursorShim (warning) Created: 16/May/14  Updated: 03/Jul/14  Resolved: 16/May/14

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: legacy-0.9.0

Type: Bug Priority: Critical - P2
Reporter: Tyler Brock Assignee: Tyler Brock
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 8.1 x64, MSVC12 (Visual Studio 2013)



 Description   

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory(951) : warning C4150: deletion of pointer to incomplete typ
e 'mongo::DBClientCursorShim'; no destructor called
        C:\mongo-cxx-driver\src\mongo/client/dbclientcursor.h(31) : see declaration of 'mongo::DBClientCursorShim'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory(950) : while compiling class template member functi
on 'std::auto_ptr<mongo::DBClientCursorShim>::~auto_ptr(void) throw()'
        C:\mongo-cxx-driver\src\mongo/client/dbclientcursor.h(151) : see reference to function template instantiation 'std::auto_p
tr<mongo::DBClientCursorShim>::~auto_ptr(void) throw()' being compiled
        C:\mongo-cxx-driver\src\mongo/client/dbclientcursor.h(228) : see reference to class template instantiation 'std::auto_ptr<
mongo::DBClientCursorShim>' being compiled



 Comments   
Comment by Andrew Morrow (Inactive) [ 16/May/14 ]

Bumping up in priority, triaging into upcoming release, and assigning to Jason as the warning suggests this may be rather serious.

Generated at Wed Feb 07 21:58:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.