[ 
https://issues.apache.org/jira/browse/ARROW-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16406049#comment-16406049
 ] 

Antoine Pitrou commented on ARROW-2317:
---------------------------------------

Also, can you explain how exactly you are using pyarrow from your C++ library? 
Just {{#include "pyarrow.h"}}? Something else? Are you using Cython at all?

> [Python] fix C linkage warning
> ------------------------------
>
>                 Key: ARROW-2317
>                 URL: https://issues.apache.org/jira/browse/ARROW-2317
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Viktor Gal
>            Priority: Minor
>
> When using pyarrow interface from a c++ library one will get the following 
> compiler warning:
> {quote}{{warning: 'unwrap_table' has C-linkage specified, but returns 
> user-defined type 'arrow::Status' which is incompatible with C 
> [-Wreturn-type-c-linkage]}}
> {{ARROW_EXPORT Status unwrap_table(PyObject* table, std::shared_ptr<Table>* 
> out);}}
> {quote}
> This is due to a Cython artifact.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to