[CXX-908] mongocxx doesn't compile Created: 07/May/16  Updated: 14/May/16  Resolved: 14/May/16

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: 3.0.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Victor MURILLO Assignee: Andrew Morrow (Inactive)
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

There are errors when building mongocxx project:

1>------ Build started: Project: mongocxx, Configuration: Debug Win32 ------
1> write.cpp
1> Unknown compiler version - please run the configure tests and report the results
1>D:\Userfiles\vmurillo\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(42): error C2338: Move-construct may throw
1>D:\Userfiles\vmurillo\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(43): error C2338: Move-assign may throw
1>D:\Userfiles\vmurillo\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(47): error C2338: Move-construct may throw
1>D:\Userfiles\vmurillo\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(48): error C2338: Move-assign may throw
1>D:\Userfiles\vmurillo\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(52): error C2338: Move-construct may throw
1>D:\Userfiles\vmurillo\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(53): error C2338: Move-assign may throw

I am currently using Visual Studio 2015 on Windows 7.

Please let me know if more information is needed.



 Comments   
Comment by Andrew Morrow (Inactive) [ 14/May/16 ]

Hi - I'm closing this ticket since I have not heard back with any additional details. Please feel free to re-open the ticket if you still need further help.

Comment by Andrew Morrow (Inactive) [ 07/May/16 ]

Thanks for the report. I have some follow up questions.

  • What exact version of VS2015 are you using (e.g. RTM, Update 1, Update 2, etc.)
  • Can you please try upgrading to version 3.0.1 of the C++ driver, or the HEAD of master
  • Can you please show how you invoked CMake to generate the project
  • Can you show the msbuild invocation you used to build it?
Generated at Wed Feb 07 22:00:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.