You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2019/12/04 18:56:00 UTC

[jira] [Commented] (ARROW-7314) [Python] Compiler warning in pyarrow

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

Wes McKinney commented on ARROW-7314:
-------------------------------------

It can be difficult to get warning-free Cython builds, if is this is not a coding error then we may suppress this warning

> [Python] Compiler warning in pyarrow
> ------------------------------------
>
>                 Key: ARROW-7314
>                 URL: https://issues.apache.org/jira/browse/ARROW-7314
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Neal Richardson
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> Saw this while building a wheel locally
> {code}
> -- Running cmake --build for pyarrow
> cmake --build . --config release -- -j3
> [23/24] Building CXX object CMakeFiles/lib.dir/lib.cpp.o
> lib.cpp: In function ‘PyObject* __pyx_pf_7pyarrow_3lib_90union(PyObject*, PyObject*, PyObject*, PyObject*)’:
> lib.cpp:37184:29: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘std::vector<std::shared_ptr<arrow::Field> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
>      __pyx_t_2 = ((__pyx_t_6 != __pyx_v_c_fields.size()) != 0);
>                    ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)