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

XMLWordPrintableJSON

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

      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 III (Inactive)
              Reporter:
              Dariusz D
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: