Version Comparison Macros for C++ #6379
Labels
🌊 C++ API
C or C++ logging API
enhancement
New feature or request
🏎️ Quick Issue
Can be fixed in a few hours or less
user-request
This is a pressing issue for one of our users
Milestone
It would be beneficial to provide a method to check versions using macro/preprocessors for cases where the code must support multiple versions.
Although there is the RERUN_SDK_HEADER_VERSION preprocessor available, its value is a string (e.g., "0.15.0"), making comparison difficult. It would be more practical to change it to a comparable value like 001500 or to provide separate version numbers for major, minor, and patches that can be compared using a utility macro such as:
The text was updated successfully, but these errors were encountered: