Skip to content

Instantly share code, notes, and snippets.

@mrkn
Last active Oct 8, 2019
Embed
What would you like to do?
[112/605] Building CXX object src/arrow/CMakeFiles/arrow-tensor-test.dir/tensor_test.cc.o
In file included from googletest_ep-prefix/src/googletest_ep/include/gtest/gtest.h:59:0,
from ../src/arrow/tensor_test.cc:26:
../src/arrow/tensor_test.cc: In member function ‘virtual void arrow::TestTensor_ElementAccessInt32_Test::TestBody()’:
../src/arrow/tensor_test.cc:182:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
reinterpret_cast<int32_t*>(&y)[0] = 4;
^
[237/605] Building CXX object src/arrow/python/CMakeFiles/arrow_python_objlib.dir/numpy_convert.cc.o
../src/arrow/python/numpy_convert.cc: In function ‘arrow::Status arrow::py::SparseTensorDataToNdarray(const arrow::SparseTensor&, std::vector<long int>, PyObject*, PyObject**)’:
../src/arrow/python/numpy_convert.cc:276:69: warning: ‘type_num_data’ may be used uninitialized in this function [-Wmaybe-uninitialized]
PyArray_Descr* dtype_data = PyArray_DescrNewFromType(type_num_data);
^
../src/arrow/python/numpy_convert.cc: In function ‘arrow::Status arrow::py::TensorToNdarray(const std::shared_ptr<arrow::Tensor>&, PyObject*, PyObject**)’:
../src/arrow/python/numpy_convert.cc:224:59: warning: ‘type_num’ may be used uninitialized in this function [-Wmaybe-uninitialized]
PyArray_Descr* dtype = PyArray_DescrNewFromType(type_num);
^
[279/605] Building CXX object src/arrow/util/CMakeFiles/arrow-utility-test.dir/align_util_test.cc.o
../src/arrow/util/align_util_test.cc: In member function ‘virtual void arrow::internal::BitmapWordAlign_AlignedDataStart_Test::TestBody()’:
../src/arrow/util/align_util_test.cc:85:52: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 5, 123, {59, 0, 64, A + 8, 64, 1});
~~^~~
../src/arrow/util/align_util_test.cc:86:54: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 5, 314, {59, 63, 256, A + 8, 192, 3});
~~^~~
../src/arrow/util/align_util_test.cc:87:53: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 5, 315, {59, 0, 320, A + 8, 256, 4});
~~^~~
../src/arrow/util/align_util_test.cc:93:52: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 63, 65, {1, 0, 128, A + 8, 64, 1});
~~^~~
../src/arrow/util/align_util_test.cc:94:54: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 63, 128, {1, 63, 128, A + 8, 64, 1});
~~^~~
../src/arrow/util/align_util_test.cc:95:53: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 63, 129, {1, 0, 192, A + 8, 128, 2});
~~^~~
../src/arrow/util/align_util_test.cc:98:56: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 1024, 130, {0, 2, 1152, A + 128, 128, 2});
~~^~~~~
../src/arrow/util/align_util_test.cc:103:57: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 1025, 128, {63, 1, 1152, A + 136, 64, 1});
~~^~~~~
../src/arrow/util/align_util_test.cc: In member function ‘virtual void arrow::internal::BitmapWordAlign_UnalignedDataStart_Test::TestBody()’:
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
const uint8_t* A = P + 7;
^
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:139:55: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 1016, 64, {0, 0, 1080, A + 120, 64, 1});
~~^~~~~
../src/arrow/util/align_util_test.cc:140:56: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 1016, 129, {0, 1, 1144, A + 120, 128, 2});
~~^~~~~
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
const uint8_t* A = P + 7;
^
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:110:18: warning: array subscript is above array bounds [-Warray-bounds]
../src/arrow/util/align_util_test.cc:146:57: warning: array subscript is above array bounds [-Warray-bounds]
CheckBitmapWordAlign<8>(P, 1017, 128, {63, 1, 1144, A + 128, 64, 1});
~~^~~~~
[391/605] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/arrow/writer.cc.o
../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)’:
../src/parquet/arrow/writer.cc:79:41: warning: ‘schema_field’ may be used uninitialized in this function [-Wmaybe-uninitialized]
schema_manifest_(schema_manifest) {}
^
../src/parquet/arrow/writer.cc:466:24: note: ‘schema_field’ was declared here
const SchemaField* schema_field;
^~~~~~~~~~~~
[402/605] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/column_writer.cc.o
../src/parquet/column_writer.cc: In function ‘arrow::Status parquet::WriteArrowSerialize(const arrow::Array&, int64_t, const int16_t*, const int16_t*, parquet::ArrowWriteContext*, parquet::TypedColumnWriter<DType>*) [with ParquetType = parquet::PhysicalType<(parquet::Type::type)0>; ArrowType = arrow::BooleanType]’:
../src/parquet/column_writer.cc:1105:17: warning: ‘buffer’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ParquetCType* buffer;
^~~~~~
../src/parquet/column_writer.cc: In function ‘arrow::Status parquet::WriteArrowSerialize(const arrow::Array&, int64_t, const int16_t*, const int16_t*, parquet::ArrowWriteContext*, parquet::TypedColumnWriter<DType>*) [with ParquetType = parquet::PhysicalType<(parquet::Type::type)3>; ArrowType = arrow::TimestampType]’:
../src/parquet/column_writer.cc:1105:17: warning: ‘buffer’ may be used uninitialized in this function [-Wmaybe-uninitialized]
[421/605] Building CXX object examples/parquet/CMakeFiles/parquet-low-level-example2.dir/low-level-api/reader-writer2.cc.o
../examples/parquet/low-level-api/reader-writer2.cc: In function ‘int main(int, char**)’:
../examples/parquet/low-level-api/reader-writer2.cc:315:24: warning: variable ‘expected_value’ set but not used [-Wunused-but-set-variable]
parquet::Int96 expected_value;
^~~~~~~~~~~~~~
../examples/parquet/low-level-api/reader-writer2.cc:382:14: warning: variable ‘expected_value’ set but not used [-Wunused-but-set-variable]
char expected_value[FIXED_LENGTH] = "parquet";
^~~~~~~~~~~~~~
../examples/parquet/low-level-api/reader-writer2.cc:225:15: warning: variable ‘rows_read’ set but not used [-Wunused-but-set-variable]
int64_t rows_read = 0;
^~~~~~~~~
[424/605] Building CXX object examples/parquet/CMakeFiles/parquet-low-level-example.dir/low-level-api/reader-writer.cc.o
../examples/parquet/low-level-api/reader-writer.cc: In function ‘int main(int, char**)’:
../examples/parquet/low-level-api/reader-writer.cc:294:24: warning: variable ‘expected_value’ set but not used [-Wunused-but-set-variable]
parquet::Int96 expected_value;
^~~~~~~~~~~~~~
../examples/parquet/low-level-api/reader-writer.cc:361:14: warning: variable ‘expected_value’ set but not used [-Wunused-but-set-variable]
char expected_value[FIXED_LENGTH] = "parquet";
^~~~~~~~~~~~~~
../examples/parquet/low-level-api/reader-writer.cc:202:15: warning: variable ‘rows_read’ set but not used [-Wunused-but-set-variable]
int64_t rows_read = 0;
^~~~~~~~~
[459/605] Building CXX object src/gandiva/precompiled/CMakeFiles/gandiva-precompiled-test.dir/time.cc.o
../src/gandiva/precompiled/time.cc: In function ‘const char* castVARCHAR_timestamp_int64(int64, timestamp, int64, int32*)’:
../src/gandiva/precompiled/time.cc:694:13: warning: ‘%02ld’ directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=]
const char* castVARCHAR_timestamp_int64(int64 context, timestamp in, int64 length,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/gandiva/precompiled/time.cc:694:13: note: directive argument in the range [-2147483648, 2147483647]
../src/gandiva/precompiled/time.cc:694:13: note: directive argument in the range [-2147483648, 2147483647]
../src/gandiva/precompiled/time.cc:694:13: note: directive argument in the range [-999, 999]
In file included from /usr/include/stdio.h:862:0,
from /usr/include/c++/7/cstdio:42,
from /usr/include/c++/7/ext/string_conversions.h:43,
from /usr/include/c++/7/bits/basic_string.h:6361,
from /usr/include/c++/7/string:52,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from ../src/gandiva/precompiled/./../../arrow/vendored/datetime/date.h:54,
from ../src/gandiva/precompiled/./epoch_time_point.h:22,
from ../src/gandiva/precompiled/time.cc:18:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output between 24 and 81 bytes into a destination of size 24
__bos (__s), __fmt, __va_arg_pack ());
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment