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

The C++ Driver should define a version macro for the preprocessor

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • legacy-0.8.0
    • None
    • None
    • all

    Description

      Currently there is no way to determine the MongoDB C++ Client version at the preprocessing, thus there is impossible to handle in source code the API modifications

      For example in SERVER-10318 it is necessary to differentiate between 2.2.0 and 2.2.1 to select the proper getLastError(...) version at preprocessing with #if.

      Please #define macros for the MongoDB client version.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bszente Balint Szente
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: