[ https://issues.apache.org/jira/browse/ARROW-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-3110. --------------------------------- Resolution: Fixed Fix Version/s: 0.11.0 Issue resolved by pull request 2464 [https://github.com/apache/arrow/pull/2464] > [C++] Compilation warnings with gcc 7.3.0 > ----------------------------------------- > > Key: ARROW-3110 > URL: https://issues.apache.org/jira/browse/ARROW-3110 > Project: Apache Arrow > Issue Type: Task > Components: C++ > Affects Versions: 0.10.0 > Reporter: Antoine Pitrou > Assignee: Antoine Pitrou > Priority: Major > Labels: pull-request-available > Fix For: 0.11.0 > > Time Spent: 20m > Remaining Estimate: 0h > > This is happening when building in release mode: > {code} > ../src/arrow/python/python_to_arrow.cc: In function 'arrow::Status > arrow::py::detail::BuilderAppend(arrow::BinaryBuilder*, PyObject*, bool*)': > ../src/arrow/python/python_to_arrow.cc:388:56: warning: 'length' may be used > uninitialized in this function [-Wmaybe-uninitialized] > if (ARROW_PREDICT_FALSE(builder->value_data_length() + length > > kBinaryMemoryLimit)) { > ^ > ../src/arrow/python/python_to_arrow.cc:385:11: note: 'length' was declared > here > int32_t length; > ^~~~~~ > In file included from ../src/arrow/python/serialize.cc:32:0: > ../src/arrow/builder.h: In member function 'arrow::Status > arrow::py::SequenceBuilder::Update(int64_t, int8_t*)': > ../src/arrow/builder.h:413:5: warning: 'offset32' may be used uninitialized > in this function [-Wmaybe-uninitialized] > raw_data_[length_++] = val; > ^~~~~~~~~ > ../src/arrow/python/serialize.cc:90:13: note: 'offset32' was declared here > int32_t offset32; > ^~~~~~~~ > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)