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

[C++] Allow C++/CLI projects to build with Arrow​

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: C++

      Description

      Currently, the inclusion of <mutex> in some of Arrow's C++ headers prevents C++/CLI code from building against it.

      From a C++/CLI project:

      #include <arrow/io/file.h>
      ...

      "#error directive: <mutex> is not supported when compiling with /clr or /clr:pure."

      This could be patched by optionally relying on Boost's mutex/lock_guard instead of std, or not exposing the #include <mutex> publically.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wesmckinn Wes McKinney
                Reporter:
                tobyshaw Toby Shaw
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: