Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-231

Windows doesn't like DBClientCursorShim (warning)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • legacy-0.9.0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
    • Environment:
      Windows 8.1 x64, MSVC12 (Visual Studio 2013)

      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
      

            Assignee:
            tyler@10gen.com Tyler Brock
            Reporter:
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: