-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[Python] fix C linkage warning #18268
Copy link
Copy link
Closed
Description
When using pyarrow interface from a c++ library one will get the following compiler warning:
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);
This is due to a Cython artifact.
Reporter: Viktor Gal / @vigsterkr
Assignee: Antoine Pitrou / @pitrou
PRs and other links:
Note: This issue was originally created as ARROW-2317. Please see the migration documentation for further details.
Reactions are currently unavailable