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

[C++] Move to C++17

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++
    • None

    Description

      The upcoming abseil release has dropped support for C++11, so eventually, arrow will have to follow. More details here.

      Relatedly, when I tried to switch abseil to a newer C++ version on windows, things apparently broke in arrow CI. This is because the ABI of abseil is sensitive to the C++ standard that's used to compile, and google only supports a homogeneous version to compile all artefacts in a stack. This creates some friction with conda-forge (where the compilers are generally much newer than what arrow might be willing to impose). For now, things seems to have worked out with arrow specifying C++11 while conda-forge moved to C++17 - at least on unix, but windows was not so lucky.

      Perhaps people would therefore also be interested in collaborating (or at least commenting on) this issue, which should permit more flexibility by being able to opt into given standard versions also from conda-forge.

      Update:

      It was voted on the dev ML to move to C++17:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              h-vetinari H. Vetinari
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 22h 20m
                  22h 20m