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

Fix Appveyor for C++ drivers for libmongoc experimental flag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.2
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Platforms 17 (07/15/16)

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-cxx-driver Backlog - CXX Driver Team
              Reporter:
              david.golden David Golden
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: