[ https://issues.apache.org/jira/browse/ARROW-7049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson updated ARROW-7049: ----------------------------------- Summary: [C++] warnings building on mingw-w64 (was: warnings building on mingw-w64) > [C++] warnings building on mingw-w64 > ------------------------------------ > > Key: ARROW-7049 > URL: https://issues.apache.org/jira/browse/ARROW-7049 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Affects Versions: 0.15.1 > Reporter: Jeroen > Priority: Minor > > Two warnings when building libarrow 0.15.1 on mingw-w64: > {code} > [ 2%] Running thrift compiler on parquet.thrift > [WARNING:C:/msys64/home/mingw-packages/mingw-w64-arrow/src/apache-arrow-0.15.1/cpp/src/parquet/parquet.thrift:297] > The "byte" type is a compatibility alias for "i8". Use "i8" to emphasize the > signedness of this type. > {code} > And later: > {code} > 81%] Building CXX object > src/parquet/CMakeFiles/parquet_static.dir/column_reader.cc.obj > C:/msys64/home/mingw-packages/mingw-w64-arrow/src/apache-arrow-0.15.1/cpp/src/parquet/arrow/writer.cc: > In member function 'virtual arrow::Status > parquet::arrow::FileWriterImpl::WriteColumnChunk(const > std::shared_ptr<arrow::ChunkedArray>&, int64_t, int64_t)': > C:/msys64/home/mingw-packages/mingw-w64-arrow/src/apache-arrow-0.15.1/cpp/src/parquet/arrow/writer.cc:79:41: > warning: 'schema_field' may be used uninitialized in this function > [-Wmaybe-uninitialized] > schema_manifest_(schema_manifest) {} > ^ > C:/msys64/home/mingw-packages/mingw-w64-arrow/src/apache-arrow-0.15.1/cpp/src/parquet/arrow/writer.cc:466:24: > note: 'schema_field' was declared here > const SchemaField* schema_field; > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)