Wes McKinney created ARROW-1248:
-----------------------------------
Summary: [Python] C linkage warnings in Clang with public Cython
API
Key: ARROW-1248
URL: https://issues.apache.org/jira/browse/ARROW-1248
Project: Apache Arrow
Issue Type: Bug
Components: Python
Reporter: Wes McKinney
Fix For: 0.6.0
{code}
/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/lib.cxx:4327:60:
warning: 'pyarrow_unwrap_buffer' has C-linkage specified, but returns
user-defined type 'std::shared_ptr<arrow::Buffer>' which is incompatible with C
[-Wreturn-type-c-linkage]
__PYX_EXTERN_C DL_EXPORT(std::shared_ptr< arrow::Buffer> )
pyarrow_unwrap_buffer(PyObject *); /*proto*/
^
/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/lib.cxx:4329:62:
warning: 'pyarrow_unwrap_data_type' has C-linkage specified, but returns
user-defined type 'std::shared_ptr<arrow::DataType>' which is incompatible with
C [-Wreturn-type-c-linkage]
__PYX_EXTERN_C DL_EXPORT(std::shared_ptr< arrow::DataType> )
pyarrow_unwrap_data_type(PyObject *); /*proto*/
^
/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/lib.cxx:4331:59:
warning: 'pyarrow_unwrap_field' has C-linkage specified, but returns
user-defined type 'std::shared_ptr<arrow::Field>' which is incompatible with C
[-Wreturn-type-c-linkage]
__PYX_EXTERN_C DL_EXPORT(std::shared_ptr< arrow::Field> )
pyarrow_unwrap_field(PyObject *); /*proto*/
^
/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/lib.cxx:4333:60:
warning: 'pyarrow_unwrap_schema' has C-linkage specified, but returns
user-defined type 'std::shared_ptr<arrow::Schema>' which is incompatible with C
[-Wreturn-type-c-linkage]
__PYX_EXTERN_C DL_EXPORT(std::shared_ptr< arrow::Schema> )
pyarrow_unwrap_schema(PyObject *); /*proto*/
^
/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/lib.cxx:4335:59:
warning: 'pyarrow_unwrap_array' has C-linkage specified, but returns
user-defined type 'std::shared_ptr<arrow::Array>' which is incompatible with C
[-Wreturn-type-c-linkage]
__PYX_EXTERN_C DL_EXPORT(std::shared_ptr< arrow::Array> )
pyarrow_unwrap_array(PyObject *); /*proto*/
^
/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/lib.cxx:4338:60:
warning: 'pyarrow_unwrap_tensor' has C-linkage specified, but returns
user-defined type 'std::shared_ptr<arrow::Tensor>' which is incompatible with C
[-Wreturn-type-c-linkage]
__PYX_EXTERN_C DL_EXPORT(std::shared_ptr< arrow::Tensor> )
pyarrow_unwrap_tensor(PyObject *); /*proto*/
^
/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/lib.cxx:4340:60:
warning: 'pyarrow_unwrap_column' has C-linkage specified, but returns
user-defined type 'std::shared_ptr<arrow::Column>' which is incompatible with C
[-Wreturn-type-c-linkage]
__PYX_EXTERN_C DL_EXPORT(std::shared_ptr< arrow::Column> )
pyarrow_unwrap_column(PyObject *); /*proto*/
^
/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/lib.cxx:4342:59:
warning: 'pyarrow_unwrap_table' has C-linkage specified, but returns
user-defined type 'std::shared_ptr<arrow::Table>' which is incompatible with C
[-Wreturn-type-c-linkage]
__PYX_EXTERN_C DL_EXPORT(std::shared_ptr< arrow::Table> )
pyarrow_unwrap_table(PyObject *); /*proto*/
^
/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/lib.cxx:4344:65:
warning: 'pyarrow_unwrap_batch' has C-linkage specified, but returns
user-defined type 'std::shared_ptr<arrow::RecordBatch>' which is incompatible
with C [-Wreturn-type-c-linkage]
__PYX_EXTERN_C DL_EXPORT(std::shared_ptr< arrow::RecordBatch> )
pyarrow_unwrap_batch(PyObject *); /*proto*/
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)