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"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • 3.5.0
    • None
    • Build
    • None
    • win10x64 msvc 2017/2019 msvc 17++ /latest

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: