Fix Appveyor for C++ drivers for libmongoc experimental flag

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              [DO NOT USE] Backlog - CXX Driver Team
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: