[CXX-969] Fix Appveyor for C++ drivers for libmongoc experimental flag Created: 08/Jul/16  Updated: 19/Sep/16  Resolved: 19/Aug/16

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

Type: Bug Priority: Major - P3
Reporter: David Golden Assignee: Backlog - CXX Driver Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-1337 Add configure flag for unstable Mongo... Closed

 Description   

I'm seeing errors like this

  test-mongoc-collection.obj : error LNK2019: unresolved external symbol bson_iter_decimal128 referenced in function test_decimal128 [C:\build\mongo-c-driver\test-libmongoc.vcxproj]
  test-mongoc-collection.obj : error LNK2019: unresolved external symbol bson_decimal128_from_string referenced in function test_decimal128 [C:\build\mongo-c-driver\test-libmongoc.vcxproj]
  test-mongoc-collection.obj : error LNK2019: unresolved external symbol BCON_DECIMAL128 referenced in function test_decimal128 [C:\build\mongo-c-driver\test-libmongoc.vcxproj]
  C:\build\mongo-c-driver\Debug\test-libmongoc.exe : fatal error LNK1120: 3 unresolved externals [C:\build\mongo-c-driver\test-libmongoc.vcxproj]

I think this is related to CDRIVER-1337, which protects experimental features behind a compiler flag. That flag should probably be enable for all C++ driver builds.



 Comments   
Comment by Githook User [ 11/Jul/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: CXX-969 appveyor.yml - pin C driver to 1.3.4
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/68d5bea91b9a528503985bee72a42091880764a4

Comment by David Golden [ 11/Jul/16 ]

I think pinning to the last released version is better than master.

Comment by Mark Benvenuto [ 08/Jul/16 ]

david.golden Do you want the C++ driver pinned to C Driver version 1.3.4 or should I pass the flag into configure? Travis is hard coded for 1.3.4 - see https://github.com/mongodb/mongo-cxx-driver/commit/3acc38698a0fafd010925a910be2328682cc3dbc

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