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

Unable to compile lib in 2017/2019 msvc > "Cannot find a valid polyfill for make_unique"

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.5.0
    • Component/s: Build
    • None
    • Environment:
      win10x64 msvc 2017/2019 msvc 17++ /latest

      Hello

       

      I'm trying to build drive cxx but I cant compile it on windows. No matter what  I try I always get >

      "Cannot find a valid polyfill for make_unique"

      + milions warnings, 

      bsoncxx\array\view.cpp(47): warning C4996: 'std::iterator<std::forward_iterator_tag,bsoncxx::v_noabi::array::element,ptrdiff_t,const bsoncxx::v_noabi::array::element *,const bsoncxx::v_noabi::array::element &>::pointer': warning STL4015: The std::iterat

       

      Tried using c++ 17/latest etc no luck. 

       

      I'm not using boost, I was unable to test it as cmake was erroring out when trying to find version of boost. So that seems to be broken too.

            Assignee:
            clyde.bazile@mongodb.com Clyde Bazile III (Inactive)
            Reporter:
            dariusz1989@gmail.com Dariusz D
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: