zhjwpku commented on issue #35651:
URL: https://github.com/apache/arrow/issues/35651#issuecomment-1609663382
I got the same error on macos with gcc 13.1
/Users/zhjwpku/zhjwpku/arrow/cpp/src/arrow/util/small_vector_test.cc:418:22:
error: moving 'moved_moved_ints' of type
'arrow::internal::TestSmallStaticVector<arrow::internal::VectorIntLikeParam<arrow::internal::SmallVectorTraits,
arrow::MoveOnlyDataType> >::IntVectorType<5>' {aka
'arrow::internal::StaticVectorImpl<arrow::MoveOnlyDataType, 5,
arrow::internal::SmallVectorStorage<arrow::MoveOnlyDataType, 5> >'} to itself
[-Werror=self-move]
/Users/zhjwpku/zhjwpku/arrow/cpp/src/arrow/util/small_vector_test.cc:418:22:
note: remove 'std::move' call
I checked the [GCC 13 Release
note](https://gcc.gnu.org/gcc-13/changes.html), this is a newly added warning,
I guess the warning with MinGW might be using
gcc 13 too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]