Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18945

DisableDocumentValidation does not compile on VS2015 RC

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • None
    • Fully Compatible
    • ALL

    Description

      scons version: 2.3.2
      python version: 2 7 5 'final' 0
      Compiling build\x86_64\normal\mongo\db\commands\apply_ops.obj
      apply_ops.cpp
      D:\work\milkie\mongo\src\third_party\boost-1.56.0\boost/type_traits/is_nothrow_move_constructible.hpp(40): error C2248: 'mongo::DisableDocumentValidation::DisableDocumentValidation': cannot access private member declared in class 'mongo::DisableDocumentValidation'
      D:\work\milkie\mongo\src\mongo/db/catalog/document_validation.h(56): note: see declaration of 'mongo::DisableDocumentValidation::DisableDocumentValidation'
      D:\work\milkie\mongo\src\mongo/db/catalog/document_validation.h(55): note: see declaration of 'mongo::DisableDocumentValidation'
      D:\work\milkie\mongo\src\third_party\boost-1.56.0\boost/type_traits/is_nothrow_move_constructible.hpp(45): note: see reference to class template instantiation 'boost::detail::false_or_cpp11_noexcept_move_constructible<T,void>' being compiled
              with
              [
                  T=mongo::DisableDocumentValidation
              ]
      D:\work\milkie\mongo\src\third_party\boost-1.56.0\boost/type_traits/is_nothrow_move_constructible.hpp(80): note: see reference to class template instantiation 'boost::detail::is_nothrow_move_constructible_imp<T>' being compiled
              with
              [
                  T=mongo::DisableDocumentValidation
              ]
      D:\work\milkie\mongo\src\third_party\boost-1.56.0\boost/optional/optional.hpp(854): note: see reference to class template instantiation 'boost::is_nothrow_move_constructible<T>' being compiled
              with
              [
                  T=mongo::DisableDocumentValidation
              ]
      src\mongo\db\commands\apply_ops.cpp(85): note: see reference to class template instantiation 'boost::optional<mongo::DisableDocumentValidation>' being compiled
      D:\work\milkie\mongo\src\third_party\boost-1.56.0\boost/type_traits/is_nothrow_move_constructible.hpp(40): error C2280: 'mongo::DisableDocumentValidation::DisableDocumentValidation(const mongo::DisableDocumentValidation &)': attempting to reference a deleted function
      D:\work\milkie\mongo\src\mongo/db/catalog/document_validation.h(56): note: see declaration of 'mongo::DisableDocumentValidation::DisableDocumentValidation'
      

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: