You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "zhjwpku (via GitHub)" <gi...@apache.org> on 2023/06/27 14:50:32 UTC
[GitHub] [arrow] zhjwpku commented on issue #35651: [C++] util/small_vector_test.cc reports a self-move warning with MinGW
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org