Toby Shaw created ARROW-1134:
--------------------------------

             Summary:  Allow C++/CLI projects to build with Arrow​
                 Key: ARROW-1134
                 URL: https://issues.apache.org/jira/browse/ARROW-1134
             Project: Apache Arrow
          Issue Type: Improvement
            Reporter: Toby Shaw
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to