[CXX-1999] Unable to compile lib in 2017/2019 msvc > "Cannot find a valid polyfill for make_unique" Created: 17/Apr/20  Updated: 27/Oct/23  Resolved: 31/Aug/20

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: 3.5.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Dariusz D Assignee: Clyde Bazile III (Inactive)
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

win10x64 msvc 2017/2019 msvc 17++ /latest


Issue Links:
Related
related to CXX-2039 Test compilation with VS 2019 on Ever... Closed

 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.



 Comments   
Comment by Esha Bhargava [ 31/Aug/20 ]

There hasn't been any recent activity on this ticket, so we're resolving it. Thanks for reaching out! Please feel free to reopen this if we've missed something.

Comment by Clyde Bazile III (Inactive) [ 18/Aug/20 ]

Hey dariusz1989@gmail.com, our latest release was v3.6. Can you specify the command you used to build the C++ driver? Also, have you checked out our installation documentation here?

Comment by Dariusz D [ 17/Apr/20 ]

Hey

Actually I have no idea which version I'm working on. Its latest master from mongocxx repo > https://github.com/mongodb/mongo-cxx-driver Its all confusing to me...

Generated at Wed Feb 07 22:04:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.