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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Build
    • ubuntu 14.04 TLS

    Description

      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;
      }

      Attachments

        Activity

          People

            tyler@10gen.com Tyler Brock
            bisegni Claudio Bisegni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: