2 minor errors during visual studio 2008 build and link

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 1.1.0
    • Component/s: None
    • None
    • Environment:
      Windows 7 32bit / MSVS 2008
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Mira Carey
            Reporter:
            franckbonin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: