Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-477

2 minor errors during visual studio 2008 build and link

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.1.0
    • None
    • None
    • Windows 7 32bit / MSVS 2008

    Description

      Successfully pass VS 2008 compilation with 2 minor change in source code :

      1/
      at mongo-c-driver-1.1.0\src\mongoc\mongoc-database.c, l. 688 :
      variable 'bson_string_t *buf' shall be defined at the begin of _mongoc_database_get_collection_info_legacy function since we compile C only code.

      2/
      at mongo-c-driver-1.1.0\build\cmake\libmongoc.def, l.144 to l.146 :
      mongoc_rand_add,
      mongoc_rand_seed and
      mongoc_rand_status
      symbols shall be removed (since no related C symbols seems to be found)
      Keeping this symbol prevent link phase to succeed.

      Attachments

        Activity

          People

            mira.carey@mongodb.com Mira Carey
            franckbonin franckbonin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: