[CXX-107] The C++ Driver should define a version macro for the preprocessor Created: 29/Jul/13  Updated: 10/Apr/14  Resolved: 07/Apr/14

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: legacy-0.8.0

Type: Improvement Priority: Critical - P2
Reporter: Balint Szente Assignee: Unassigned
Resolution: Done Votes: 0
Labels: cxxmove, legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

all


Issue Links:
Duplicate
duplicates CXX-57 Rework version and buildinfo files in... Closed
Related
is related to SERVER-10318 getLastError() always returns "getLas... Closed

 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.


Generated at Wed Feb 07 21:58:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.