Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4568

[C++] Add version macros to headers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • C++

    Description

      It would be useful to have compile-time macros in the headers specifying the major/minor/patch versions, so that users can more easily maintain code that can be built with a range of arrow versions.

      Other nice-to-haves:

      • Maybe a "combiner" func that basically spits out the value as an easy to compare integer e.g. 12000 for 0.12.0 or something.
      • Git hash

      Attachments

        Issue Links

          Activity

            People

              uwe Uwe Korn
              llchan Lawrence Chan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h