Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7314

[Python] Compiler warning in pyarrow

    XMLWordPrintableJSON

Details

    Description

      Saw this while building a wheel locally

      -- 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);
                         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
      

      Attachments

        Issue Links

          Activity

            People

              jorisvandenbossche Joris Van den Bossche
              npr Neal Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m