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

Driver fail to compile on windows with VS2015 sp3.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.1.0
    • Component/s: Build
    • None

      I get the following message when trying to compile cxx driver:

      C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(42): error C2338: Move-construct may thr
      ow [C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\mongocxx.vcxproj]
      C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(43): error C2338: Move-assign may throw
      [C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\mongocxx.vcxproj]
      C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(47): error C2338: Move-construct may thr
      ow [C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\mongocxx.vcxproj]
      C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(48): error C2338: Move-assign may throw
      [C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\mongocxx.vcxproj]
      C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(52): error C2338: Move-construct may thr
      ow [C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\mongocxx.vcxproj]
      C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(53): error C2338: Move-assign may throw
      [C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\mongocxx.vcxproj]

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            nistar Alex Vilensky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: