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

Windows doesn't like DBClientCursorShim (warning)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: legacy-0.9.0
    • Component/s: Build
    • Labels:
    • 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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: