Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-969

Fix Appveyor for C++ drivers for libmongoc experimental flag

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.2
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            Assignee:
            backlog-cxx-driver [DO NOT USE] Backlog - CXX Driver Team
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: