error using mongodb c++ driver on hubuntu 14.04 LTS error on ambiguous append method is raised

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Environment:
      ubuntu 14.04 TLS
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The driver compile well but when it is used in other application and compiled an error is found on bsonobjbuilder.h

      for fix i need to insert in the same file the method :

      BSONObjBuilder& append(const StringData& fieldName, long int longNum) {
          _b.appendNum((char) NumberLong);
          _b.appendStr(fieldName);
          _b.appendNum((long long int)longNum);
          return *this;
      }
      

            Assignee:
            Tyler Brock (Inactive)
            Reporter:
            Claudio Bisegni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: