[ https://issues.apache.org/jira/browse/ARROW-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191415#comment-16191415 ]
ASF GitHub Bot commented on ARROW-1134: --------------------------------------- Github user TobyShaw commented on the issue: https://github.com/apache/arrow/pull/1098 Eek, sorry about the inactivity. As for the nullptr stuff, the solution I've tested is with macros ``` #ifdef __cplusplus_cli #define NULLPTR __nullptr #else #define NULLPTR nullptr #endif ``` And using NULLPTR instead of nullptr. > [C++] 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 > Components: C++ > Reporter: Toby Shaw > Priority: Minor > Labels: pull-request-available > Fix For: 0.8.0 > > > 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)