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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.0
    • 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

              wesm Wes McKinney
              tobyshaw Toby Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: